File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 63
63
python -m pip install -U pip setuptools wheel
64
64
pip install -U -r requirements_test.txt
65
65
pip install -U -r doc/requirements.txt
66
+ pip install pre-commit
66
67
- name : Generate pre-commit restore key
67
68
id : generate-pre-commit-key
68
69
run : >-
@@ -173,11 +174,9 @@ jobs:
173
174
key :
174
175
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
175
176
needs.prepare-base.outputs.python-key }}
176
- - name : Install tox
177
- run : |
178
- pip install -U tox
179
177
- name : Run checks on documentation code examples
180
178
run : |
179
+ . venv/bin/activate
181
180
tox -e test_doc
182
181
- name : Check documentation build and links
183
182
run : |
Original file line number Diff line number Diff line change @@ -140,6 +140,11 @@ jobs:
140
140
key : >-
141
141
${{ runner.os }}-${{ matrix.python-version }}-${{
142
142
steps.commitstring.outputs.commitstring }}-primer
143
+ - name : Regenerate cache
144
+ if : steps.cache-projects.outputs.cache-hit != 'true'
145
+ run : |
146
+ . venv/bin/activate
147
+ python tests/primer/__main__.py prepare --clone
143
148
- name : Check cache
144
149
run : |
145
150
. venv/bin/activate
Original file line number Diff line number Diff line change 1
- -r requirements_test_pre_commit.txt
2
1
-r requirements_test_min.txt
3
2
coverage~=7.2
4
3
tbump~=6.10.0
You can’t perform that action at this time.
0 commit comments