Skip to content

Commit 3408cd5

Browse files
authored
Update development-action.yml
refactor code cov tasks
1 parent 5700280 commit 3408cd5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/development-action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ jobs:
2424
- name: Build
2525
run: dotnet build
2626
- name: Test
27-
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput=TestResults/
27+
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput=TestResults/ --collect:"XPlat Code Coverage"
2828
- name: Upload coverage reports to Codecov
2929
uses: codecov/codecov-action@v4.0.1
3030
with:
3131
token: ${{ secrets.CODECOV_TOKEN }}
32+
file: ./TestResults/coverage.cobertura.xml
3233
flags: unittests
3334
name: codecov-umbrella
3435
#fail_ci_if_error: true

0 commit comments

Comments
 (0)