File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 22
22
uses : actions/setup-python@v5
23
23
with :
24
24
python-version : ' 3.10'
25
+ cache : ' pip'
25
26
27
+ - name : Cache Sphinx build
28
+ uses : actions/cache@v3
29
+ with :
30
+ path : docs/py_docs/_build
31
+ key : ${{ runner.os }}-sphinx-${{ hashFiles('docs/py_docs/**') }}
32
+ restore-keys : |
33
+ ${{ runner.os }}-sphinx-
26
34
27
35
- name : Install dependencies
28
36
run : |
Original file line number Diff line number Diff line change 18
18
uses : actions/setup-python@v5
19
19
with :
20
20
python-version : ' 3.10'
21
+ cache : ' pip'
22
+
23
+ - name : Cache pytest
24
+ uses : actions/cache@v3
25
+ with :
26
+ path : |
27
+ .pytest_cache
28
+ __pycache__
29
+ key : ${{ runner.os }}-pytest-${{ hashFiles('**/*.py') }}
30
+ restore-keys : |
31
+ ${{ runner.os }}-pytest-
21
32
22
33
- name : Install dependencies
23
34
run : python -m pip install pytest .
You can’t perform that action at this time.
0 commit comments