byuawsfhtl/Python Test Coverage Checker
Scans repository for tests, calculates test coverage, and reports coverage percentage
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| minimum_coverage | Minimum coverage percentage required (0-100) | no | 80 |
| test_paths | Comma-separated list of test directories/files to include | no | tests/,test/,**/test_*.py,**/tests.py |
| source_paths | Comma-separated list of source directories to analyze | no | . |
| exclude_paths | Comma-separated list of paths to exclude from coverage | no | tests/,test/,**/test_*.py,**/tests.py,setup.py,conftest.py |
| fail_on_low_coverage | Whether to fail the action if coverage is below minimum | no | true |
| report_format | Coverage report format (term, html, xml, json) | no | term |
Outputs
| name | description |
|---|---|
| coverage_percentage | The calculated test coverage percentage |
| coverage_report | Path to the coverage report file |
| tests_found | Number of test files found |