Skip to content

Commit

Permalink
CI: use micromamba for the python env
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Feb 22, 2024
1 parent 590e554 commit ab77f7f
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,22 +80,12 @@ jobs:
# allow-prereleases: true

- name: Set up Python ${{ matrix.python-version }} with conda
uses: conda-incubator/setup-miniconda@v3
uses: mamba-org/setup-micromamba@v1
with:
activate-environment:
${{ env.REPOSITORY_NAME }}-py${{ matrix.python-version }}
python-version: ${{ matrix.python-version }}
mamba-version: "*"
miniforge-version: latest
channels: conda-forge
use-mamba: true

- name: Install epics-base packages from CF
run: |
set -vxeuo pipefail
mamba install -c conda-forge -y epics-base "setuptools<67"
conda env list
conda list
init-shell: bash
environment-name: ${{env.REPOSITORY_NAME}}-py${{matrix.python-version}}
create-args: >-
python=${{ matrix.python-version }} epics-base setuptools<67
- name: Install package
run: |
Expand Down

0 comments on commit ab77f7f

Please sign in to comment.