@@ -148,50 +148,6 @@ jobs:
148
148
name : coverage-${{ matrix.python-version }}
149
149
path : .coverage
150
150
151
- coverage :
152
- name : Process test coverage
153
- runs-on : ubuntu-latest
154
- needs : ["prepare-tests-linux", "pytest-linux"]
155
- strategy :
156
- matrix :
157
- python-version : ["3.13"]
158
- env :
159
- COVERAGERC_FILE : .coveragerc
160
- steps :
161
- - name : Check out code from GitHub
162
- uses : actions/checkout@v3
163
- - name : Set up Python ${{ matrix.python-version }}
164
- id : python
165
- uses : actions/setup-python@v4
166
- with :
167
- python-version : ${{ matrix.python-version }}
168
- - name : Restore Python virtual environment
169
- id : cache-venv
170
- uses : actions/cache@v3
171
- with :
172
- path : venv
173
- key :
174
- ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
175
- needs.prepare-tests-linux.outputs.python-key }}
176
- - name : Fail job if Python cache restore failed
177
- if : steps.cache-venv.outputs.cache-hit != 'true'
178
- run : |
179
- echo "Failed to restore Python venv from cache"
180
- exit 1
181
- - name : Download all coverage artifacts
182
-
183
- - name : Combine coverage results
184
- run : |
185
- . venv/bin/activate
186
- coverage combine coverage*/.coverage
187
- coverage report --rcfile=${{ env.COVERAGERC_FILE }}
188
- - name : Upload coverage to Coveralls
189
- env :
190
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
191
- run : |
192
- . venv/bin/activate
193
- coveralls --rcfile=${{ env.COVERAGERC_FILE }} --service=github
194
-
195
151
prepare-tests-windows :
196
152
name : Prepare tests for Python ${{ matrix.python-version }} (Windows)
197
153
runs-on : windows-latest
0 commit comments