diff --git a/.github/workflows/ci-pytest.yml b/.github/workflows/ci-pytest.yml index ac2e7eb6..7400d9f8 100644 --- a/.github/workflows/ci-pytest.yml +++ b/.github/workflows/ci-pytest.yml @@ -45,10 +45,9 @@ jobs: with: path: ~/conda-env.tar.bz2 key: >- - ${{ runner.os }}-conda-${{ env.python_version }}- - ${{ hashFiles('antspy-pr/ants/environment.yml', 'antspy-pr/ants/requirements.txt', 'antspy-pr/ants/setup.py', - 'antspy-pr/ants/scripts/configure_ITK.sh', 'antspy-pr/ants/scripts/configure_ANTsPy.sh', - 'antspy-pr/ants/lib/*') }} + ${{ runner.os }}-conda-${{ env.python_version }}-${{ hashFiles('antspy-pr/ants/environment.yml', + 'antspy-pr/ants/requirements.txt', 'antspy-pr/ants/setup.py', 'antspy-pr/scripts/configure_ITK.sh', + 'antspy-pr/scripts/configure_ANTsPy.sh', 'antspy-pr/ants/lib/*') }} - name: Unpack cached environment if: steps.cache-env.outputs.cache-hit == 'true' @@ -76,10 +75,9 @@ jobs: with: path: ~/conda-env.tar.bz2 key: >- - ${{ runner.os }}-conda-${{ env.python_version }}- - ${{ hashFiles('antspy-pr/ants/environment.yml', 'antspy-pr/ants/requirements.txt', 'antspy-pr/ants/setup.py', - 'antspy-pr/ants/scripts/configure_ITK.sh', 'antspy-pr/ants/scripts/configure_ANTsPy.sh', - 'antspy-pr/ants/lib/*') }}) }} + ${{ runner.os }}-conda-${{ env.python_version }}-${{ hashFiles('antspy-pr/ants/environment.yml', + 'antspy-pr/ants/requirements.txt', 'antspy-pr/ants/setup.py', 'antspy-pr/scripts/configure_ITK.sh', + 'antspy-pr/scripts/configure_ANTsPy.sh', 'antspy-pr/ants/lib/*') }}) }} - name: Replace installed ANTsPy with PR code if: steps.cache-env.outputs.cache-hit == 'true'