File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 55env :
66 Configuration : Release
77 ContinuousIntegrationBuild : true
8+ ReportGeneratorLicense : ${{ secrets.REPORTGENERATOR_LICENSE }}
89 DOTNET_CLI_TELEMETRY_OPTOUT : true
910 DOTNET_NOLOGO : true
1011 DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION : true
5758 with :
5859 name : TestResults-${{ runner.os }}.trx
5960 path : " *.trx"
61+ - name : 📤 Upload coverage report
62+ if : matrix.os == 'ubuntu-latest'
63+ uses : actions/upload-artifact@v4
64+ with :
65+ name : Coverage Report
66+ path : coverage
6067 - name : ☂️ Upload coverage report to Codecov
6168 env :
6269 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 3939 <ItemGroup >
4040 <CoverageReport Include =" $(VSTestResultsDirectory)/*/coverage.cobertura.xml" />
4141 </ItemGroup >
42- <ReportGenerator ReportFiles =" @(CoverageReport)" TargetDirectory =" $(CoverageReportDirectory)" ReportTypes =" Html ;TextSummary" />
42+ <ReportGenerator ReportFiles =" @(CoverageReport)" TargetDirectory =" $(CoverageReportDirectory)" ReportTypes =" HtmlInline ;TextSummary" License = " $(ReportGeneratorLicense) " />
4343 </Target >
4444
4545 <!-- Because of https://github.com/microsoft/vstest/issues/2378 -->
You can’t perform that action at this time.
0 commit comments