Skip to content

Commit

Permalink
attempt updating the CI conda environment
Browse files Browse the repository at this point in the history
  • Loading branch information
glemieux committed Mar 13, 2024
1 parent ba0f162 commit 29cc05c
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/setup-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,28 @@ jobs:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v4
with:
activate-environment: test
python-version: ${{ matrix.python-version }}
channels: conda-forge
channel-priority: flexible
show-channel-urls: true
- run: |
run: |
conda info
conda list
conda config --show-sources
conda config --show
- name: Install pyproject2conda
run: |
conda install -c conda-forge pyproject2conda -y
- name: Convert pyproject to environment.yml
run: |
pyproject2conda yaml -e test --python-include python=${{ matrix.python-version }} > environment.yml
- name: Install dependencies from environment.yml
run: |
conda env update --file environment.yml --name test
rm environment.yml

0 comments on commit 29cc05c

Please sign in to comment.