File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 4848
4949 - uses : conda-incubator/setup-miniconda@v3
5050 with :
51- activate-environment : neo-test-env
51+ activate-environment : neo-test-env-${{ matrix.python-version }}
5252 python-version : " ${{ matrix.python-version }}"
5353
5454 - name : Get current dependencies hash
@@ -62,17 +62,13 @@ jobs:
6262 # * when package dependencies change
6363 id : cache-conda-env
6464 with :
65- path : /usr/share/miniconda/envs/neo-test-env
65+ path : /usr/share/miniconda/envs/neo-test-env-${{ matrix.python-version }}
6666 key : ${{ runner.os }}-conda-env-${{ steps.dependencies.outputs.hash }}-${{ steps.date.outputs.date }}
6767 # restore-keys match any key that starts with the restore-key
6868 restore-keys : |
6969 ${{ runner.os }}-conda-env-${{ steps.dependencies.outputs.hash }}-
7070 ${{ runner.os }}-conda-env-
7171
72- - name : Install Python Version
73- run : |
74- conda install --force-reinstall python=${{ matrix.python-version }} pip pytest
75-
7672 - name : Install testing dependencies
7773 # testing environment is only created from yml if no cache was found
7874 # restore-key hits should result in `cache-hit` == 'false'
You can’t perform that action at this time.
0 commit comments