Skip to content

Commit e02002a

Browse files
author
Brian Cummings
committed
still fixing coverage reporting
1 parent f07e160 commit e02002a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main_pathfinderhonormanager.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
env:
4949
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
5050
run: |
51-
./.sonar/scanner/dotnet-sonarscanner begin /k:"PathfinderHonorManager_PathfinderHonorManagerAPI" /o:"pathfinderhonormanager" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="TestResults/coverage.opencover.xml"
51+
./.sonar/scanner/dotnet-sonarscanner begin /k:"PathfinderHonorManager_PathfinderHonorManagerAPI" /o:"pathfinderhonormanager" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="PathfinderHonorManager.Tests/TestResults/coverage.opencover.xml"
5252
dotnet build
5353
./.sonar/scanner/dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
5454
@@ -61,13 +61,13 @@ jobs:
6161
- uses: ./.github/actions/setup-dotnet
6262

6363
- name: Test with the dotnet CLI (OpenCover)
64-
run: dotnet test /p:CollectCoverage=true /p:CoverletOutput=TestResults/coverage.opencover.xml /p:CoverletOutputFormat=opencover
64+
run: dotnet test /p:CollectCoverage=true /p:CoverletOutput=PathfinderHonorManager.Tests/TestResults/coverage.opencover.xml /p:CoverletOutputFormat=opencover
6565

6666
- name: Upload coverage report
6767
uses: actions/upload-artifact@v4
6868
with:
6969
name: coverage-report
70-
path: TestResults/coverage.opencover.xml
70+
path: PathfinderHonorManager.Tests/TestResults/coverage.opencover.xml
7171

7272
analyze:
7373
name: Analyze

0 commit comments

Comments
 (0)