@@ -148,50 +148,6 @@ jobs:
148148 name : coverage-${{ matrix.python-version }}
149149 path : .coverage
150150
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- uses : actions/download-artifact@v4.1.7
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-
195151 prepare-tests-windows :
196152 name : Prepare tests for Python ${{ matrix.python-version }} (Windows)
197153 runs-on : windows-latest
0 commit comments