Skip to content

Commit

Permalink
Update ci-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Namoshek authored Jan 24, 2025
1 parent 5b7479b commit e37748c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
operating-system: ['ubuntu-latest', 'windows-latest']
dotnet-version: ['9.0.x']
include:
- operating-system: 'windows-latest'
- operating-system: 'ubuntu-latest'
dotnet-version: '9.0.x'
run-sonarqube-analysis: true

Expand Down Expand Up @@ -79,11 +79,11 @@ jobs:
/k:"Namoshek_Shouldly.Json" `
/o:"namoshek" `
/d:sonar.host.url="https://sonarcloud.io" `
/d:sonar.login="${{ secrets.SONAR_TOKEN }}" `
/d:sonar.cs.vscoveragexml.reportsPaths=**/coverage.xml
/d:sonar.token="${{ secrets.SONAR_TOKEN }}" `
/d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml
dotnet build --configuration "Release" --no-incremental
dotnet-coverage collect 'dotnet test --no-restore --no-build --configuration Release' -f xml -o 'coverage.xml'
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
- name: Build package
if: matrix.run-sonarqube-analysis != true
Expand Down

0 comments on commit e37748c

Please sign in to comment.