Skip to content

Publish coverage report #1

Publish coverage report

Publish coverage report #1

Workflow file for this run

name: Python test coverage
on:
workflow_run:
workflows: ["Python tests"]
types:
- completed
branches:
- main
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Download coverage artifact
uses: actions/download-artifact@v3
with:
name: coverage
path: .coverage
- name: Generate coverage report
run: |
pip install coverage
coverage xml coverage.xml
- name: Get coverage
uses: orgoro/coverage
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}