Skip to content

Commit 51381fa

Browse files
committed
Fix CI: Remove unavailable junit logger
The junit logger requires a separate NuGet package that isn't installed. Since we only need coverage reporting (not test results), remove: - junit logger from test command - codecov-cli installation step - test results upload step Coverage reporting via codecov-action@v5 is sufficient.
1 parent 65ecb95 commit 51381fa

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
--configuration Release \
4646
--framework net9.0 \
4747
--collect:"XPlat Code Coverage" \
48-
--logger:"junit;LogFilePath=test-results.xml" \
4948
--results-directory ./coverage
5049
5150
- name: Upload coverage to Codecov
@@ -54,13 +53,3 @@ jobs:
5453
token: ${{ secrets.CODECOV_TOKEN }}
5554
files: ./coverage/**/coverage.cobertura.xml
5655
fail_ci_if_error: false
57-
58-
- name: Install codecov-cli
59-
run: pip install codecov-cli
60-
61-
- name: Upload test results to Codecov
62-
run: |
63-
codecovcli do-upload \
64-
--report-type test_results \
65-
--file coverage/test-results.xml \
66-
--token ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)