Skip to content

Commit cb838b5

Browse files
committed
dotnet cli switch for coverage
1 parent 5e3ced0 commit cb838b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Build
2424
run: dotnet build --no-restore
2525
- name: Test
26-
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
26+
run: dotnet test --collect:"XPlat Code Coverage" --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
2727
- name: Codecov
2828
uses: codecov/codecov-action@v2
2929
with:

0 commit comments

Comments
 (0)