Skip to content

Commit

Permalink
Merge branch 'master' into update-io-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 authored Jan 8, 2025
2 parents bda06a2 + af7c53c commit fc55071
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/io-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: neo-test-env
activate-environment: neo-test-env-${{ matrix.python-version }}
python-version: "${{ matrix.python-version }}"

- name: Get current dependencies hash
Expand All @@ -62,7 +62,7 @@ jobs:
# * when package dependencies change
id: cache-conda-env
with:
path: /usr/share/miniconda/envs/neo-test-env
path: /usr/share/miniconda/envs/neo-test-env-${{ matrix.python-version }}
key: ${{ runner.os }}-conda-env-${{ steps.dependencies.outputs.hash }}-${{ steps.date.outputs.date }}
# restore-keys match any key that starts with the restore-key
restore-keys: |
Expand All @@ -74,8 +74,7 @@ jobs:
# restore-key hits should result in `cache-hit` == 'false'
if: steps.cache-conda-env.outputs.cache-hit != 'true'
run: |
conda env update --name neo-test-env --file environment_testing.yml --prune
conda install python=${{ matrix.python-version }}
conda env update --name neo-test-env-${{ matrix.python-version }} --file environment_testing.yml --prune
- name: Configure git
run: |
Expand Down

0 comments on commit fc55071

Please sign in to comment.