File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Run Stryker.NET v1
1+ # Run Stryker GitHub Action
22
33This action runs [ Stryker.NET] ( https://stryker-mutator.io/docs/stryker-net/introduction/ ) on your specified test project.
44
5- # What's new
6- - Run [ Stryker.Net] ( https://stryker-mutator.io/docs/stryker-net/introduction/ ) in your github with a single action
7- - Have the stryker HTML report available in your workspace
8- - Fail the action run if your mutation score isn't met
9-
10-
11- # Usage
12-
13- See [ action.yml] ( ./action.yml )
14-
15- ## Run Stryker.Net on a single test project
16- ```
17- uses: tom171296/run-stryker-net@vmain
18- with:
19- testProject: "BusinessLogic.Test/" # required
20- ```
215## Inputs
226
237### ` testProject `
@@ -30,11 +14,13 @@ uses: tom171296/run-stryker-net@vmain
3014
3115## Outputs
3216
33- There are no outputs from this action.
17+ ### ` html-report `
18+
19+ This action generates an HTML report from the Stryker run, which can be uploaded as an artifact.
3420
3521## Example usage
3622
37- ``` yaml
23+ ``` yaml
3824# File: .github/workflows/mutation-test.yaml
3925
4026on :
@@ -46,13 +32,12 @@ jobs:
4632 mutation-test :
4733 uses : actions/checkout@v3
4834
49- uses : tom171296/run- stryker-net@main
35+ uses : stryker-mutator/github-action@v0.0.1
5036 with :
5137 testProject : " BusinessLogic.Test/" # required
5238 breakAt : " 75" # Optional
5339
5440 uses : actions/upload-artifact@v3
55- with :
56- name : html-report
57- path : ${{github.workspace}}/BusinessLogic.Test/StrykerOutput/**/**/*.html
58- ` ` `
41+ with :
42+ name : html-report
43+ path : ${{github.workspace}}/BusinessLogic.Test/StrykerOutput/**/**/*.html
You can’t perform that action at this time.
0 commit comments