diff --git a/.github/workflows/io-test.yml b/.github/workflows/io-test.yml index e5e0cd3a5..189418e51 100644 --- a/.github/workflows/io-test.yml +++ b/.github/workflows/io-test.yml @@ -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 @@ -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: | @@ -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: |