diff --git a/.github/workflows/test-pipeline.yml b/.github/workflows/test-pipeline.yml index e85ac47..30eb33d 100644 --- a/.github/workflows/test-pipeline.yml +++ b/.github/workflows/test-pipeline.yml @@ -41,8 +41,17 @@ jobs: - name: 'Run tests' run: | cd '${{ github.workspace }}/MewtocolTests' - dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/ - + dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults + + - name: ReportGenerator + uses: danielpalme/ReportGenerator-GitHub-Action@5.1.22 + with: + reports: '${{ github.workspace }}/MewtocolTests/TestResults' + targetdir: '${{ github.workspace }}/MewtocolTests/Reports' + reporttypes: Html_Dark;HtmlInline;MarkdownSummaryGithub;Badges + historydir: '${{ github.workspace }}/MewtocolTests/Hist' + title: Report + #Upload to codecov - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 @@ -54,4 +63,4 @@ jobs: with: key: coverage-data path: | - ${{ github.workspace }}/MewtocolTests/TestResults \ No newline at end of file + ${{ github.workspace }}/MewtocolTests/TestResults