Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 956 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 956 Bytes

mutation-report-action

Show mutation report annotations in GitHub. Supports any framework using the mutation testing report schema, e.g. Stryker.

GitHub Stryker Annotation Example

GitHub Workflow config

- name: Mutation Annotation Report
  uses: johanholmerin/mutation-report-action@0.2.0
  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.

"reporters": [...other reporters, "json"]