Skip to content

Check code coverage

Actions
This GitHub action reads a code coverage report and fails if the actual code coverage is below a specified threshold
v2.0.0
Latest
Star (0)

Check code coverage

tests

This GitHub action reads a code coverage report and fails if the actual code coverage is below a specified threshold.

Inputs

report

Required The name of the code coverage report file. Only reports in clover format are supported.

required-percentage

Required The code coverage in percent (0-100) required to pass.

Example usage

uses: themichaelhall/check-code-coverage@v2
with:
  report: coverage.xml
  required-percentage: 80

License

MIT

Check code coverage is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

This GitHub action reads a code coverage report and fails if the actual code coverage is below a specified threshold
v2.0.0
Latest

Check code coverage is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.