Skip to content

Commit eeba8c8

Browse files
Copilotleeoades
andcommitted
fix: use absolute path for junit test results in CI workflow
Co-authored-by: leeoades <2321091+leeoades@users.noreply.github.com>
1 parent 5b234fb commit eeba8c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: dotnet build FunctionalStateMachine.sln --configuration Release --no-restore
3131

3232
- name: Test
33-
run: dotnet test FunctionalStateMachine.sln --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --settings coverage.runsettings --results-directory ./coverage --logger "junit;LogFilePath=./test-results/{assembly}.xml"
33+
run: dotnet test FunctionalStateMachine.sln --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --settings coverage.runsettings --results-directory ./coverage --logger "junit;LogFilePath=${{ github.workspace }}/test-results/{assembly}.xml"
3434

3535
- name: Upload Coverage to Codecov
3636
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)