sivchari/Gomu Mutation Testing
Run mutation testing for Go projects using gomu with incremental analysis
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| go-version | Go version to use | no | 1.21 |
| working-directory | Working directory for the action | no | . |
| version | gomu version to use (latest, nightly, local, or specific version like v1.0.0) | no | latest |
| threshold | Minimum mutation score threshold (0-100) | no | 80 |
| fail-on-gate | Whether to fail the build if quality gate is not met | no | true |
| workers | Number of parallel workers | no | 4 |
| timeout | Test timeout in seconds | no | 30 |
| incremental | Enable incremental analysis for performance | no | true |
| base-branch | Base branch for incremental analysis | no | main |
| output | Output format (json, html, console) | no | json |
| upload-artifacts | Whether to upload mutation reports as artifacts | no | true |
| comment-pr | Whether to comment on pull requests with results | no | true |
Outputs
| name | description |
|---|---|
| mutation-score | The mutation score percentage |
| total-mutants | Total number of mutants generated |
| killed-mutants | Number of killed mutants |
| survived-mutants | Number of survived mutants |