File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 4141 run : dotnet build --configuration Release
4242
4343 - name : Run Unit Tests
44- run : dotnet test --configuration Release --no-build --verbosity normal --logger "junit;LogFilePath=../results/test-results.xml"
44+ run : dotnet test --configuration Release --no-build --verbosity normal --logger "junit;LogFilePath=../results/test-results.xml" /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput=../results/coverage/
4545
4646 # - name: Run Coyote Tests
4747 # run: coyote test --recursive
5353 name : Test Report
5454 path : " **/test-results.xml"
5555 reporter : java-junit
56+
57+ - name : Upload Coverage to Codecov
58+ uses : codecov/codecov-action@v3
59+ with :
60+ files : " ../results/coverage/coverage.cobertura.xml"
61+ fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments