File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
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
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 : |
7474 # restore-key hits should result in `cache-hit` == 'false'
7575 if : steps.cache-conda-env.outputs.cache-hit != 'true'
7676 run : |
77- conda env update --name neo-test-env --file environment_testing.yml --prune
78- conda install python=${{ matrix.python-version }}
77+ conda env update --name neo-test-env-${{ matrix.python-version }} --file environment_testing.yml --prune
7978
8079 - name : Configure git
8180 run : |
You can’t perform that action at this time.
0 commit comments