File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 2626 run : dotnet build Auth0.AspNetCore.Authentication.Api.sln --configuration Release --no-restore
2727
2828 - name : Run Unit tests
29- run : dotnet test tests/Auth0.AspNetCore.Authentication.Api.UnitTests/Auth0.AspNetCore.Authentication.Api.UnitTests.csproj
29+ run : dotnet test tests/Auth0.AspNetCore.Authentication.Api.UnitTests/Auth0.AspNetCore.Authentication.Api.UnitTests.csproj --collect:"XPlat Code coverage" --results-directory ./TestResults/ /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura
3030
3131 - name : Run Integration tests
3232 env :
4444 DPOP_REQUIRED_CLIENT_ID : ${{ secrets.DPOP_REQUIRED_CLIENT_ID }}
4545 DPOP_REQUIRED_CLIENT_SECRET : ${{ secrets.DPOP_REQUIRED_CLIENT_SECRET }}
4646 DPOP_REQUIRED_DPOP_MODE : ${{ secrets.DPOP_REQUIRED_DPOP_MODE }}
47- run : dotnet test tests/Auth0.AspNetCore.Authentication.Api.IntegrationTests/Auth0.AspNetCore.Authentication.Api.IntegrationTests.csproj
47+ run : dotnet test tests/Auth0.AspNetCore.Authentication.Api.IntegrationTests/Auth0.AspNetCore.Authentication.Api.IntegrationTests.csproj --collect:"XPlat Code coverage" --results-directory ./TestResults/ /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura
4848
49- # TODO: Capture and Update CodeCov report later.
49+ - name : Update codecov report
50+ uses :
codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # [email protected] 51+ with :
52+ token : ${{ secrets.CODECOV_TOKEN }}
53+ files : ./TestResults/**/coverage.cobertura.xml
54+ fail_ci_if_error : false
55+ verbose : true
You can’t perform that action at this time.
0 commit comments