From c21ee962b58fc4ce836bac9fb0bfa2d15bf083f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20St=C3=BChmer?= Date: Sun, 25 Oct 2026 17:04:59 +0100 Subject: [PATCH] ci: add stryker configuration The mutation workflow skips all steps when stryker-config.json is missing. Add the configuration so mutation testing runs and reports to the Stryker dashboard. --- stryker-config.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 stryker-config.json diff --git a/stryker-config.json b/stryker-config.json new file mode 100644 index 0000000..46e41b6 --- /dev/null +++ b/stryker-config.json @@ -0,0 +1,16 @@ +{ + "stryker-config": { + "solution": "CodeBuilder.slnx", + "mutation-level": "Advanced", + "reporters": ["html", "json", "dashboard", "progress"], + "project-info": { "name": "github.com/dailydevops/codebuilder" }, + "thresholds": { "high": 80, "low": 60, "break": 0 }, + "test-projects": [ + "tests/NetEvolve.CodeBuilder.Tests.Integration/NetEvolve.CodeBuilder.Tests.Integration.csproj", + "tests/NetEvolve.CodeBuilder.Tests.Unit/NetEvolve.CodeBuilder.Tests.Unit.csproj" + ], + "coverage-analysis": "perTest", + "mutate": ["**/*.cs", "!**/*.Designer.cs", "!**/*.g.cs", "!**/*.g.i.cs"], + "test-runner": "mtp" + } +}