File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -64,17 +64,17 @@ jobs:
64
64
- name : Load cached test results
65
65
uses : actions/cache/restore@v3
66
66
with :
67
- key : coverage-xml
67
+ key : coverage-data
68
68
path : |
69
- '${{ github.workspace }}/MewtocolTests/coverage.opencover.xml'
69
+ '${{ github.workspace }}/MewtocolTests/TestResults/ coverage.opencover.xml'
70
70
71
71
- name : ' Upload coverage xml to latest release'
72
72
uses : actions/upload-release-asset@v1
73
73
env :
74
74
GITHUB_TOKEN : ${{ github.token }}
75
75
with :
76
76
upload_url : " ${{ github.event.release.upload_url }}"
77
- asset_path : ' ${{ github.workspace }}/MewtocolTests/coverage.opencover.xml'
77
+ asset_path : ' ${{ github.workspace }}/MewtocolTests/TestResults/ coverage.opencover.xml'
78
78
asset_name : coverage.opencover.xml
79
79
asset_content_type : application/xml
80
80
Original file line number Diff line number Diff line change 41
41
- name : ' Run tests'
42
42
run : |
43
43
cd '${{ github.workspace }}/MewtocolTests'
44
- dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
44
+ dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/
45
45
46
46
# Upload to codecov
47
47
- name : Upload coverage reports to Codecov
52
52
- name : Cache test results
53
53
uses : actions/cache/save@v3
54
54
with :
55
- key : coverage-xml
55
+ key : coverage-data
56
56
path : |
57
- '${{ github.workspace }}/MewtocolTests/coverage.opencover.xml '
57
+ '${{ github.workspace }}/MewtocolTests/TestResults/ '
You can’t perform that action at this time.
0 commit comments