Skip to content

Commit b938400

Browse files
fix
1 parent ce389b5 commit b938400

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/pr-build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ jobs:
3232
- name: Build solution
3333
run: dotnet build RestClient.sln --configuration Release --no-restore /warnaserror
3434

35+
- name: Run code analysis
36+
run: dotnet build RestClient.sln --configuration Release --no-restore /p:RunAnalyzers=true /p:TreatWarningsAsErrors=true
37+
38+
- name: Run Stryker Mutation Testing
39+
working-directory: RestClient.Net.CsTest
40+
run: dotnet stryker --project RestClient.Net.CsTest.csproj --break-at 100 --reporter "console" --reporter "html"
41+
3542
- name: Verify Docker is available
3643
run: |
3744
docker --version
@@ -46,8 +53,3 @@ jobs:
4653
cd Samples/NucliaDbClient
4754
docker compose down -v --remove-orphans || true
4855
49-
- name: Run Stryker Mutation Testing
50-
run: dotnet stryker --break-at 100 --reporter "console" --reporter "html"
51-
52-
- name: Run code analysis
53-
run: dotnet build RestClient.sln --configuration Release --no-restore /p:RunAnalyzers=true /p:TreatWarningsAsErrors=true

0 commit comments

Comments
 (0)