Skip to content

Commit

Permalink
q
Browse files Browse the repository at this point in the history
  • Loading branch information
mihakralj committed Sep 23, 2024
1 parent c4359c2 commit 6f1b7a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main_automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
/d:sonar.login="${{ secrets.SONAR_TOKEN }}" \
/d:sonar.host.url="https://sonarcloud.io" \
/d:sonar.cs.opencover.reportsPaths="**/TestResults/coverage.opencover.xml"
/d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml
- name: Build projects
run: |
Expand All @@ -71,7 +73,9 @@ jobs:
- name: Run tests with coverage
if: github.ref == 'refs/heads/dev'
run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput="./TestResults/"
run: |
dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput="./TestResults/"
dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml"
- name: Generate and process coverage report
if: github.ref == 'refs/heads/dev'
Expand Down

0 comments on commit 6f1b7a3

Please sign in to comment.