/coverage-reporter

:octocat: Github action to report code coverage for coverage.py, mocha, jest, etc.

Primary LanguageTypeScript

build-test Total alerts Language grade: JavaScript Public workflows that use this action.

coverage-reporter

Display Coverage reports on a Pull Request.

sample

Usage

coverage.py

...
    steps:
      - uses: actions/checkout@v3
      - name: Code coverage-reporter
        uses: tj-actions/coverage-reporter@v3
        with:
          coverage-command: 'python -m coverage report'

nyc

...
    steps:
      - uses: actions/checkout@v3
      - name: Code coverage-reporter
        uses: tj-actions/coverage-reporter@v3
        with:
          coverage-command: "nyc --reporter=text mocha --exclude='fixtures' __tests__/*.js"

If you feel generous and want to show some extra appreciation:

Buy me a coffee