Update stryker-mutation-tests.yml #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: stryker-mutation-tests | |
on: [workflow_dispatch, push] | |
jobs: | |
mutation-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '8.0' # Set the .NET version you're using | |
- name: Restore .NET tools | |
run: dotnet tool restore | |
working-directory: "tests/UnitTests.Sequencer/" | |
- name: Run Stryker Mutation Tests | |
uses: stryker-mutator/[email protected] | |
with: | |
testProject: "tests/UnitTests.Sequencer/" # required | |
breakAt: "80" # Optional | |
- name: Upload Stryker HTML Report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: html-report | |
path: tests/UnitTests.Sequencer/StrykerOutput/**/*.html | |