Skip to content

Commit d24ae2c

Browse files
committed
ci: tweak stryker config for fork runs
1 parent 9e2c054 commit d24ae2c

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != 'egil/Htmxor'
156156
run: |
157157
cd test/Htmxor.Tests
158-
dotnet stryker --config-file "../../stryker-config.json" --version ${{ env.BRANCH_NAME }} --output ${{ env.StrykerDirectory }}
158+
dotnet stryker --config-file "../../stryker-config-no-dashboard.json" --version ${{ env.BRANCH_NAME }} --output ${{ env.StrykerDirectory }}
159159
cat ${{ env.StrykerDirectory }}/reports/mutation-report.md >> $GITHUB_STEP_SUMMARY
160160
161161
- name: Stryker Report

stryker-config-no-dashboard.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"stryker-config": {
3+
"project": "src/Htmxor/Htmxor.csproj",
4+
"mutate": [
5+
"!**/System.*/*"
6+
],
7+
"language-version": "Preview",
8+
"target-framework": "net8.0",
9+
"mutation-level": "Complete",
10+
"reporters": [
11+
"markdown",
12+
"html"
13+
],
14+
"thresholds": {
15+
"high": 80,
16+
"low": 60,
17+
"break": 0
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)