Skip to content

Commit

Permalink
TEST-0007 Add stryker step
Browse files Browse the repository at this point in the history
  • Loading branch information
hwinther committed Sep 21, 2024
1 parent fe04193 commit 7f3867b
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,20 @@ jobs:
comment-identifier: "${{ env.WORKFLOW_SHORT_NAME }}-CodeCoverageSummary"
comment-content: ${{ steps.code-coverage-summary.outputs.markdown }}

- name: Inspect code
uses: muno92/resharper_inspectcode@v1
if: ${{ github.event_name == 'pull_request' }}
with:
workingDirectory: ${{ env.BACKEND_SOLUTION_PATH }}
solutionPath: Backend.sln
dotnetVersion: ${{ env.DOTNET_VERSION }}
failOnIssue: false
solutionWideAnalysis: true
include: |
**.cs
ignoreIssueType: PropertyCanBeMadeInitOnly.Global
- name: Stryker
run: |
dotnet tool install -g dotnet-stryker
dotnet stryker --reporters "html" --reports "json" --reporters "markdown" --project ../../tests/backend/WebApi.Tests/WebApi.Tests.csproj --output-path ../../tests/backend/StrykerOutput
# - name: Inspect code
# uses: muno92/resharper_inspectcode@v1
# if: ${{ github.event_name == 'pull_request' }}
# with:
# workingDirectory: ${{ env.BACKEND_SOLUTION_PATH }}
# solutionPath: Backend.sln
# dotnetVersion: ${{ env.DOTNET_VERSION }}
# failOnIssue: false
# solutionWideAnalysis: true
# include: |
# **.cs
# ignoreIssueType: PropertyCanBeMadeInitOnly.Global

0 comments on commit 7f3867b

Please sign in to comment.