mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Fixed caching
This commit is contained in:
6
.github/workflows/test-pipeline.yml
vendored
6
.github/workflows/test-pipeline.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
||||
- name: 'Run tests'
|
||||
run: |
|
||||
cd '${{ github.workspace }}/MewtocolTests'
|
||||
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
|
||||
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/
|
||||
|
||||
#Upload to codecov
|
||||
- name: Upload coverage reports to Codecov
|
||||
@@ -52,6 +52,6 @@ jobs:
|
||||
- name: Cache test results
|
||||
uses: actions/cache/save@v3
|
||||
with:
|
||||
key: coverage-xml
|
||||
key: coverage-data
|
||||
path: |
|
||||
'${{ github.workspace }}/MewtocolTests/coverage.opencover.xml'
|
||||
'${{ github.workspace }}/MewtocolTests/TestResults/'
|
||||
Reference in New Issue
Block a user