|
62 | 62 | . venv/bin/activate
|
63 | 63 | python -m pip install -U pip setuptools wheel
|
64 | 64 | pip install -U -r requirements_test.txt
|
65 |
| - pip install -U -r doc/requirements.txt |
66 | 65 | - name: Generate pre-commit restore key
|
67 | 66 | id: generate-pre-commit-key
|
68 | 67 | run: >-
|
@@ -120,67 +119,4 @@ jobs:
|
120 | 119 | . venv/bin/activate
|
121 | 120 | pip install -e .
|
122 | 121 | pip list | grep 'astroid\|pylint'
|
123 |
| - pre-commit run --hook-stage manual pylint-with-spelling --all-files |
124 |
| -
|
125 |
| - spelling: |
126 |
| - name: spelling tests |
127 |
| - runs-on: ubuntu-latest |
128 |
| - timeout-minutes: 5 |
129 |
| - needs: prepare-base |
130 |
| - steps: |
131 |
| - - name: Check out code from GitHub |
132 |
| - |
133 |
| - - name: Set up Python ${{ env.DEFAULT_PYTHON }} |
134 |
| - id: python |
135 |
| - |
136 |
| - with: |
137 |
| - python-version: ${{ env.DEFAULT_PYTHON }} |
138 |
| - check-latest: true |
139 |
| - - name: Restore Python virtual environment |
140 |
| - id: cache-venv |
141 |
| - |
142 |
| - with: |
143 |
| - path: venv |
144 |
| - fail-on-cache-miss: true |
145 |
| - key: |
146 |
| - ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ |
147 |
| - needs.prepare-base.outputs.python-key }} |
148 |
| - - name: Run spelling checks |
149 |
| - run: | |
150 |
| - . venv/bin/activate |
151 |
| - pytest tests/ -k unittest_spelling |
152 |
| -
|
153 |
| - documentation: |
154 |
| - name: documentation |
155 |
| - runs-on: ubuntu-latest |
156 |
| - timeout-minutes: 20 |
157 |
| - needs: prepare-base |
158 |
| - steps: |
159 |
| - - name: Check out code from GitHub |
160 |
| - |
161 |
| - - name: Set up Python ${{ env.DEFAULT_PYTHON }} |
162 |
| - id: python |
163 |
| - |
164 |
| - with: |
165 |
| - python-version: ${{ env.DEFAULT_PYTHON }} |
166 |
| - check-latest: true |
167 |
| - - name: Restore Python virtual environment |
168 |
| - id: cache-venv |
169 |
| - |
170 |
| - with: |
171 |
| - path: venv |
172 |
| - fail-on-cache-miss: true |
173 |
| - key: |
174 |
| - ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ |
175 |
| - needs.prepare-base.outputs.python-key }} |
176 |
| - - name: Install tox |
177 |
| - run: | |
178 |
| - pip install -U tox |
179 |
| - - name: Run checks on documentation code examples |
180 |
| - run: | |
181 |
| - tox -e test_doc |
182 |
| - - name: Check documentation build and links |
183 |
| - run: | |
184 |
| - . venv/bin/activate |
185 |
| - cd doc |
186 |
| - make html |
| 122 | + pre-commit run pylint --all-files |
0 commit comments