Skip to content

Commit

Permalink
feat: add mutation commit message (#694)
Browse files Browse the repository at this point in the history
* Add mutation commit message

* Include "MutationComment" in CI pipeline

* Fix typo
  • Loading branch information
vbreuss authored Dec 19, 2024
1 parent bfb1b37 commit ff4c642
Show file tree
Hide file tree
Showing 3 changed files with 233 additions and 67 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
DOTNET_NOLOGO: true
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -84,7 +86,9 @@ jobs:
7.0.x
8.0.x
- name: Run mutation tests
run: ./build.sh MutationTestsLinux
run: ./build.sh MutationTestsLinux MutationComment
env:
GithubToken: ${{ secrets.GITHUB_TOKEN }}

mutation-tests-windows:
name: "Mutation tests (Windows)"
Expand All @@ -93,6 +97,8 @@ jobs:
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
DOTNET_NOLOGO: true
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -105,7 +111,9 @@ jobs:
7.0.x
8.0.x
- name: Run mutation tests
run: ./build.ps1 MutationTestsWindows
run: ./build.ps1 MutationTestsWindows MutationComment
env:
GithubToken: ${{ secrets.GITHUB_TOKEN }}

static-code-analysis:
name: "Static code analysis"
Expand Down
2 changes: 2 additions & 0 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
"Compile",
"DotNetFrameworkUnitTests",
"DotNetUnitTests",
"MutationComment",
"MutationTestPreparation",
"MutationTests",
"MutationTestsLinux",
"MutationTestsWindows",
Expand Down
Loading

0 comments on commit ff4c642

Please sign in to comment.