Update test-pipeline.yml

This commit is contained in:
Felix Weiß
2023-06-17 11:17:21 +02:00
committed by GitHub
parent f5e6d7d6af
commit 2df944da8c

View File

@@ -41,7 +41,16 @@ 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