From da2cb6b58ad82c0319912b4923aac37b1ae07b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Wei=C3=9F?= <72068105+Sandoun@users.noreply.github.com> Date: Sat, 17 Jun 2023 11:28:21 +0200 Subject: [PATCH] Update test-pipeline.yml --- .github/workflows/test-pipeline.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-pipeline.yml b/.github/workflows/test-pipeline.yml index 8b396a6..6e77fbb 100644 --- a/.github/workflows/test-pipeline.yml +++ b/.github/workflows/test-pipeline.yml @@ -40,16 +40,17 @@ jobs: - name: 'Run tests' run: | - cd '${{ github.workspace }}/MewtocolTests' + cd './MewtocolTests' dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults - + cd ../ + - name: ReportGenerator uses: danielpalme/ReportGenerator-GitHub-Action@5.1.22 with: - reports: '${{ github.workspace }}/MewtocolTests/TestResults/coverage.opencover.xml' - targetdir: '${{ github.workspace }}/MewtocolTests/Reports' + reports: './MewtocolTests/TestResults/coverage.opencover.xml' + targetdir: './MewtocolTests/Reports' reporttypes: Html_Dark;HtmlInline;MarkdownSummaryGithub;Badges - historydir: '${{ github.workspace }}/MewtocolTests/Hist' + historydir: './MewtocolTests/Hist' title: Report #Upload to codecov