We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98b06c2 commit 06c7304Copy full SHA for 06c7304
.github/workflows/test.yml
@@ -31,12 +31,10 @@ jobs:
31
run: dotnet build -c Release --no-restore
32
- name: Test & collect coverage
33
run: |
34
- dotnet test -c Release --no-restore --no-build \
35
- --collect:"Code Coverage;Format=cobertura" \
36
- --results-directory "test-results"
+ dotnet test -- --coverage --coverage-output-format xml --coverage-output ${{ github.workspace }}/coverage.xml
37
- name: Find coverage files and generate report
38
39
- reportgenerator -reports:"test-results/**/coverage.cobertura.xml" \
+ reportgenerator -reports:"${{ github.workspace }}/**/coverage.xml" \
40
-targetdir:"coverage-report" \
41
-reporttypes:MarkdownSummaryGithub
42
- name: Upload coverage report
0 commit comments