diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a5934e5..49c6d70 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -21,3 +21,14 @@ jobs: - name: Build run: dotnet build -c Release + + - name: Mutation testing + run: | + dotnet tool restore + dotnet stryker --since:main + + - name: Upload Stryker Report + uses: actions/upload-artifact@v4 + with: + name: stryker-report + path: StrykerOutput diff --git a/.github/workflows/stryker.yml b/.github/workflows/stryker.yml deleted file mode 100644 index cb39e3d..0000000 --- a/.github/workflows/stryker.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Stryker Mutation Testing - -on: workflow_dispatch - -jobs: - build: - runs-on: windows-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: '0' - - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: '9.0.x' - - - name: Restore packages - run: nuget restore - - - name: Build - run: dotnet build -c Release - - - name: Mutation testing - run: | - dotnet tool restore - dotnet stryker --since:main - - - name: Upload Stryker Report - uses: actions/upload-artifact@v4 - with: - name: stryker-report - path: StrykerOutput