File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -347,8 +347,29 @@ jobs:
347
347
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
348
348
workflow-artifact-name : >-
349
349
${{ needs.pre-setup.outputs.dists-artifact-name }}
350
- - name : Upload coverage
351
-
350
+ - name : Download artifacts
351
+ uses : actions/download-artifact@v3
352
+ with :
353
+ name : coverage
354
+ path : ${{ runner.temp }}/coverage
355
+ - name : Install coverage
356
+ run : |
357
+ pip install coverage
358
+ shell : bash
359
+ - name : Combine coverage reports
360
+ run : |
361
+ coverage combine '${{ runner.temp }}/coverage'
362
+ shell : bash
363
+ - name : Generate XML coverage report
364
+ run : |
365
+ coverage xml
366
+ shell : bash
367
+ - name : Send coverage data to Codecov
368
+ uses : codecov/codecov-action@v4
369
+ with :
370
+ files : coverage.xml
371
+ flags : CI-GHA
372
+ token : ${{ secrets.CODECOV_TOKEN }}
352
373
353
374
pre-deploy :
354
375
name : Pre-Deploy
You can’t perform that action at this time.
0 commit comments