Skip to content

Commit 06c7304

Browse files
committed
test
1 parent 98b06c2 commit 06c7304

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ jobs:
3131
run: dotnet build -c Release --no-restore
3232
- name: Test & collect coverage
3333
run: |
34-
dotnet test -c Release --no-restore --no-build \
35-
--collect:"Code Coverage;Format=cobertura" \
36-
--results-directory "test-results"
34+
dotnet test -- --coverage --coverage-output-format xml --coverage-output ${{ github.workspace }}/coverage.xml
3735
- name: Find coverage files and generate report
3836
run: |
39-
reportgenerator -reports:"test-results/**/coverage.cobertura.xml" \
37+
reportgenerator -reports:"${{ github.workspace }}/**/coverage.xml" \
4038
-targetdir:"coverage-report" \
4139
-reporttypes:MarkdownSummaryGithub
4240
- name: Upload coverage report

0 commit comments

Comments
 (0)