Display Coverage reports on a Pull Request.
...
steps:
- uses: actions/checkout@v3
- name: Code coverage-reporter
uses: tj-actions/[email protected]
with:
coverage-command: 'python -m coverage report'
...
steps:
- uses: actions/checkout@v3
- name: Code coverage-reporter
uses: tj-actions/[email protected]
with:
coverage-command: "nyc --reporter=text mocha --exclude='fixtures' __tests__/*.js"
INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
---|---|---|---|---|
coverage-command | string | true | Specify a coverage command to run the test. |
|
token | string | true | "${{ github.token }}" |
GITHUB_TOKEN or a Repo scoped PAT |
- Free software: MIT license
If you feel generous and want to show some extra appreciation: