Skip to content

johanholmerin/mutation-report-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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"]