Display Coverage reports on a Pull Request.
...
steps:
- uses: actions/checkout@v3
- name: Code coverage-reporter
uses: tj-actions/coverage-reporter@v5.1
with:
coverage-command: 'python -m coverage report'
...
steps:
- uses: actions/checkout@v3
- name: Code coverage-reporter
uses: tj-actions/coverage-reporter@v5.1
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: