Skip to content

coverage

coverage #3

Workflow file for this run

name: 'coverage'
on:
pull_request:
branches:
- master
- main
push:
workflow_dispatch:
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Get Cover
uses: orgoro/coverage@v3
with:
coverageFile: path/to/coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run coverage
run: |
python -m coverage run -m unittest
python -m coverage xml