File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 38
38
cache-dependency-glob : |
39
39
pyproject.toml
40
40
uv.lock
41
+
42
+ - name : Cache pip
43
+ uses : actions/cache@v4
44
+ with :
45
+ path : ~/.cache/pip
46
+ key : pip-${{ runner.os }}-${{ matrix.python }}-${{ matrix.mpi }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('uv.lock') }}
47
+
48
+ - name : Cache pip wheels
49
+ uses : actions/cache@v4
50
+ with :
51
+ path : ~/.cache/pip/wheels
52
+ key : pip-wheels-${{ runner.os }}-${{ matrix.python }}-${{ matrix.mpi }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('uv.lock') }}
41
53
42
54
# Unfortunately we must use different keys to store the same data,
43
55
# otherwise GitHub will complain when multiple jobs are going to
49
61
path : ~/pysm3-data
50
62
key : pysm3-data-${{ runner.os }}-${{ matrix.python }}-${{ matrix.mpi }}-${{ secrets.CACHE_VERSION }}
51
63
52
-
53
64
- name : Register PySM3 data path
54
65
run : |
55
66
echo "PYSM_LOCAL_DATA=$HOME/pysm3-data" >> $GITHUB_ENV
79
90
fi
80
91
env :
81
92
DUCC0_OPTIMIZATION : none
93
+ PIP_CACHE_DIR : ${{ runner.home }}/.cache/pip
82
94
83
95
- name : Tests
84
96
run : uv run bash ./bin/run_tests.sh
You can’t perform that action at this time.
0 commit comments