@@ -140,64 +140,64 @@ jobs:
140140 path : .coverage.${{ matrix.name }}
141141 retention-days : 1
142142
143- report-coverage :
144- name : Report Combined Coverage
145- runs-on : ubuntu-latest
146- needs : test
147- if : always()
148- permissions :
149- contents : read
150- actions : read
151- steps :
152- - uses : actions/checkout@v4
153- with :
154- persist-credentials : false
155-
156- - uses : actions/setup-python@v5
157- with :
158- python-version : ' 3.11'
159-
160- - name : Install coverage tool
161- run : python -m pip install coverage[toml]
162-
163- - name : Download all coverage artifacts
164- uses : actions/download-artifact@v4
165- with :
166- path : downloaded-coverage-artifacts
167- pattern : coverage-artifact-*
168-
169- - name : Combine coverage reports
170- run : |
171- mkdir combined_coverage_data
172- find downloaded-coverage-artifacts -type f -name '.coverage.*' -exec cp {} combined_coverage_data/ \;
173- echo "Files in combined_coverage_data for combining:"
174- ls -R combined_coverage_data
175- cd combined_coverage_data
176- coverage combine --keep
177- echo "Combined .coverage file generated. Generating XML report."
178- coverage xml -o ../coverage.xml
179- cd ..
180- echo "Generated coverage.xml in workspace root:"
181- ls -l coverage.xml
182-
183- - name : Report coverage to Codecov
184- uses : codecov/codecov-action@v5
185- with :
186- files : ./coverage.xml
187- token : ${{ secrets.CODECOV_TOKEN }}
188- fail_ci_if_error : true
189- verbose : true
190-
191- check :
192- if : always()
193-
194- needs :
195- - report-coverage
196-
197- runs-on : ubuntu-latest
198-
199- steps :
200- - name : Decide whether the needed jobs succeeded or failed
201- uses : re-actors/alls-green@223e4bb7a751b91f43eda76992bcfbf23b8b0302
202- with :
203- jobs : ${{ toJSON(needs) }}
143+ # report-coverage:
144+ # name: Report Combined Coverage
145+ # runs-on: ubuntu-latest
146+ # needs: test
147+ # if: always()
148+ # permissions:
149+ # contents: read
150+ # actions: read
151+ # steps:
152+ # - uses: actions/checkout@v4
153+ # with:
154+ # persist-credentials: false
155+
156+ # - uses: actions/setup-python@v5
157+ # with:
158+ # python-version: '3.11'
159+
160+ # - name: Install coverage tool
161+ # run: python -m pip install coverage[toml]
162+
163+ # - name: Download all coverage artifacts
164+ # uses: actions/download-artifact@v4
165+ # with:
166+ # path: downloaded-coverage-artifacts
167+ # pattern: coverage-artifact-*
168+
169+ # - name: Combine coverage reports
170+ # run: |
171+ # mkdir combined_coverage_data
172+ # find downloaded-coverage-artifacts -type f -name '.coverage.*' -exec cp {} combined_coverage_data/ \;
173+ # echo "Files in combined_coverage_data for combining:"
174+ # ls -R combined_coverage_data
175+ # cd combined_coverage_data
176+ # coverage combine --keep
177+ # echo "Combined .coverage file generated. Generating XML report."
178+ # coverage xml -o ../coverage.xml
179+ # cd ..
180+ # echo "Generated coverage.xml in workspace root:"
181+ # ls -l coverage.xml
182+
183+ # - name: Report coverage to Codecov
184+ # uses: codecov/codecov-action@v5
185+ # with:
186+ # files: ./coverage.xml
187+ # token: ${{ secrets.CODECOV_TOKEN }}
188+ # fail_ci_if_error: true
189+ # verbose: true
190+
191+ # check:
192+ # if: always()
193+
194+ # needs:
195+ # - report-coverage
196+
197+ # runs-on: ubuntu-latest
198+
199+ # steps:
200+ # - name: Decide whether the needed jobs succeeded or failed
201+ # uses: re-actors/alls-green@223e4bb7a751b91f43eda76992bcfbf23b8b0302
202+ # with:
203+ # jobs: ${{ toJSON(needs) }}
0 commit comments