From e3b6fdf780a78bfc650932270299c772a0b929be 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 13:15:12 +0200 Subject: [PATCH] Update test-pipeline.yml --- .github/workflows/test-pipeline.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-pipeline.yml b/.github/workflows/test-pipeline.yml index 0445a35..a94e9d3 100644 --- a/.github/workflows/test-pipeline.yml +++ b/.github/workflows/test-pipeline.yml @@ -47,9 +47,7 @@ jobs: run: | cd './MewtocolTests' dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/coverage.opencover.xml - ls -l cd ../ - ls -l - name: Report Generator uses: danielpalme/ReportGenerator-GitHub-Action@5.1.22 @@ -71,10 +69,11 @@ jobs: - uses: actions/upload-artifact@v3 with: - name: badge-combined - path: ./MewtocolTests/TestResults/badge_combined.svg + name: test-results + path: ./MewtocolTests/TestResults/ - name: Cache test results + if: ${{ github.event_name == 'workflow_call' }} uses: actions/cache/save@v3 with: key: ${{ inputs.cache-id }}