File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -347,8 +347,29 @@ jobs:
347347 ${{ needs.build-pure-python-dists.outputs.sdist-filename }}
348348 workflow-artifact-name : >-
349349 ${{ 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 }}
352373
353374 pre-deploy :
354375 name : Pre-Deploy
You can’t perform that action at this time.
0 commit comments