File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,20 +84,20 @@ jobs:
8484 with :
8585 dotnet-version : ${{ vars.DOTNET_SDK_VERSION }}
8686 - name : Test with .NET ${{ vars.DOTNET_SDK_VERSION }}
87- run : dotnet test ${{ vars.TEST_SEARCH_PATTERN }} --configuration ${{ vars.BUILD_CONFIGURATION }} --verbosity normal --settings unit-test.runsettings -- --coverage --coverage-output-format cobertura --report-trx
87+ run : dotnet test ${{ vars.TEST_SEARCH_PATTERN }} --configuration ${{ vars.BUILD_CONFIGURATION }} --verbosity normal --settings unit-test.runsettings -- --coverage --coverage-output-format cobertura --report-trx --results-directory ${{ runner.temp }}/test-results/
8888 - name : Upload Test Results
8989 uses : actions/upload-artifact@v4
9090 with :
9191 name : test-results
9292 path : |
93- ** /test-results/*
93+ ${{ runner.temp }} /test-results/*
9494 - run : dotnet tool install --global LiquidTestReports.Cli --prerelease
9595 - run : liquid --inputs "File=**/*.trx" --output-file test-report.md
9696 - run : cat test-report.md >> $GITHUB_STEP_SUMMARY
9797 name : Write Test Results Summary
9898 - run : dotnet tool update --global dotnet-coverage
9999 name : Update dotnet-coverage tool
100- - run : dotnet-coverage merge --output test-result.cobertura.xml --output-format cobertura "test-results/**/*.coverage"
100+ - run : dotnet-coverage merge --output test-result.cobertura.xml --output-format cobertura "${{ runner.temp }}/ test-results/**/*.coverage"
101101 name : Merge Code Coverage Results
102102 - run : dotnet tool update --global dotnet-reportgenerator-globaltool
103103 name : Update dotnet-reportgenerator-globaltool tool
You can’t perform that action at this time.
0 commit comments