Mutation testing #4
This file contains hidden or 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: Mutation testing | |
| on: | |
| schedule: | |
| - cron: "17 3 * * 1" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| dbwriter: | |
| name: DbWriter mutation testing | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Set up .NET | |
| uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0 | |
| with: | |
| dotnet-version: | | |
| 8.0.413 | |
| 9.0.301 | |
| - name: Restore | |
| run: dotnet restore CodeIndex.sln --locked-mode | |
| - name: Install Stryker.NET | |
| run: dotnet tool install --global dotnet-stryker --version 4.14.0 | |
| - name: Run DbWriter mutation tests | |
| run: dotnet stryker --config-file stryker-config.json |