Skip to content
This repository has been archived by the owner on Nov 16, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwurzinger committed May 5, 2022
2 parents 5687801 + 463e97d commit 2a75a30
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/everything.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,19 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Restore Tools
working-directory: ./test
run: dotnet tool restore
- name: Run mutation tests
working-directory: ./test
run: dotnet stryker --reporter "dashboard" --dashboard-api-key ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
run: dotnet stryker --reporter dashboard --with-baseline:${{ github.base_ref }} --dashboard-api-key ${{ secrets.STRYKER_DASHBOARD_API_KEY }} --version ${{ github.head_ref }}
if: github.event_name == 'pull_request'
- name: Run mutation tests
working-directory: ./test
run: dotnet stryker --reporter dashboard --dashboard-api-key ${{ secrets.STRYKER_DASHBOARD_API_KEY }} --version ${{ github.ref_name }}
if: github.event_name != 'pull_request'
package:
needs: test
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions AuthOida.sln
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{04AFCA1B-D813-4E6E-AC58-A485B03B151E}"
ProjectSection(SolutionItems) = preProject
test\Directory.Build.props = test\Directory.Build.props
test\stryker-config.json = test\stryker-config.json
test\test.runsettings = test\test.runsettings
EndProjectSection
EndProject
Expand Down
5 changes: 4 additions & 1 deletion test/stryker-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"test-projects": [ "AuthOida.Microsoft.Identity.Groups.Tests/AuthOida.Microsoft.Identity.Groups.Tests.csproj" ],
"ignore-methods": [
"ConfigureAwait" // Ignores mutations of ConfigureAwait(false)
]
],
"baseline": {
"provider": "Dashboard"
}
}
}

0 comments on commit 2a75a30

Please sign in to comment.