Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johanholmerin/mutation-report-action
Show Stryker report annotations in GitHub
https://github.com/johanholmerin/mutation-report-action
actions github mutation-testing stryker
Last synced: 27 days ago
JSON representation
Show Stryker report annotations in GitHub
- Host: GitHub
- URL: https://github.com/johanholmerin/mutation-report-action
- Owner: johanholmerin
- License: mit
- Created: 2021-09-11T06:02:25.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-11T09:03:55.000Z (about 3 years ago)
- Last Synced: 2024-10-03T08:11:39.052Z (about 1 month ago)
- Topics: actions, github, mutation-testing, stryker
- Language: JavaScript
- Homepage:
- Size: 150 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mutation-report-action
Show mutation report annotations in GitHub. Supports any framework using the
[mutation testing report schema][schema], e.g. [Stryker][stryker].![GitHub Stryker Annotation Example](./images/annotation.png)
## GitHub Workflow config
```yaml
- name: Mutation Annotation Report
uses: johanholmerin/[email protected]
if: ${{ always() }} # Upload even if tests don't pass testing threshold
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
report-json: './reports/mutation/mutation.json' # Optional, default
```## Stryker Configuration
Make sure to enable the [JSON reporter][stryker-json-reporter].
```javascript
"reporters": [...other reporters, "json"]
```[schema]: https://github.com/stryker-mutator/mutation-testing-elements/tree/master/packages/report-schema
[stryker]: https://stryker-mutator.io/
[stryker-json-reporter]: https://stryker-mutator.io/docs/stryker-js/configuration#reporters-string