File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 6363 python -m pip install -U pip setuptools wheel
6464 pip install -U -r requirements_test.txt
6565 pip install -U -r doc/requirements.txt
66+ pip install pre-commit
6667 - name : Generate pre-commit restore key
6768 id : generate-pre-commit-key
6869 run : >-
@@ -173,11 +174,9 @@ jobs:
173174 key :
174175 ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
175176 needs.prepare-base.outputs.python-key }}
176- - name : Install tox
177- run : |
178- pip install -U tox
179177 - name : Run checks on documentation code examples
180178 run : |
179+ . venv/bin/activate
181180 tox -e test_doc
182181 - name : Check documentation build and links
183182 run : |
Original file line number Diff line number Diff line change @@ -140,6 +140,11 @@ jobs:
140140 key : >-
141141 ${{ runner.os }}-${{ matrix.python-version }}-${{
142142 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
143148 - name : Check cache
144149 run : |
145150 . venv/bin/activate
Original file line number Diff line number Diff line change 1- -r requirements_test_pre_commit.txt
21-r requirements_test_min.txt
32coverage~=7.2
43tbump~=6.10.0
You can’t perform that action at this time.
0 commit comments