Skip to content

Commit e779728

Browse files
committed
add cmor cache second try
1 parent 4f86694 commit e779728

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pytest.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
uses: actions/cache@v4
4040
with:
4141
path: |
42-
$HOME/cmor
42+
/home/runner/cmor
43+
/home/runner/.cache/pip
4344
key: cmor-${{ runner.os }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('**/cmor_version.txt') }}
4445
restore-keys: |
4546
cmor-${{ runner.os }}-
@@ -53,8 +54,6 @@ jobs:
5354
make
5455
make install
5556
pip install .
56-
else
57-
pip install $HOME/cmor
5857
fi
5958
- name: Run pytest
6059
env:

0 commit comments

Comments
 (0)