@@ -31,20 +31,26 @@ jobs:
31
31
32
32
- name : Test (4.8)
33
33
run : dotnet test --no-restore --verbosity normal -f net48 --logger "trx;LogFileName=results4.trx"
34
- - name : Generate unit test report (4.8)
35
- uses : phoenix-actions/test-reporting@v12
36
- id : unit-test-report-win48
37
- if : success() || failure()
34
+ - name : Upload test results (4.8)
35
+ uses : actions/upload-artifact@v4 # upload test results
36
+ if : success() || failure() # run this step even if previous step failed
38
37
with :
39
- name : test results (win net4.8)
40
- path : BitFaster.Caching.UnitTests/TestResults/results4.trx
41
- reporter : dotnet-trx
42
- only-summary : ' true'
38
+ name : test-results-win48
39
+ path : BitFaster.Caching.UnitTests/TestResults/results4.trx
40
+ # - name: Generate unit test report (4.8)
41
+ # uses: phoenix-actions/test-reporting@v15
42
+ # id: unit-test-report-win48
43
+ # if: success() || failure()
44
+ # with:
45
+ # name: test results (win net4.8)
46
+ # path: BitFaster.Caching.UnitTests/TestResults/results4.trx
47
+ # reporter: dotnet-trx
48
+ # only-summary: 'true'
43
49
44
50
- name : Test (3.1)
45
51
run : dotnet test --no-restore --verbosity normal -f netcoreapp3.1 /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov --logger "trx;LogFileName=results3.trx"
46
52
- name : Generate unit test report (3.1)
47
- uses : phoenix-actions/test-reporting@v12
53
+ uses : phoenix-actions/test-reporting@v15
48
54
id : unit-test-report-win3
49
55
if : success() || failure()
50
56
with :
63
69
- name : Test (6.0)
64
70
run : dotnet test --no-restore --verbosity normal -f net6.0 /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov --logger "trx;LogFileName=results6.trx"
65
71
- name : Generate unit test report (6.0)
66
- uses : phoenix-actions/test-reporting@v12
72
+ uses : phoenix-actions/test-reporting@v15
67
73
id : unit-test-report-win6
68
74
if : success() || failure()
69
75
with :
@@ -114,7 +120,7 @@ jobs:
114
120
flag-name : mac
115
121
parallel : true
116
122
- name : Generate unit test report
117
- uses : phoenix-actions/test-reporting@v12
123
+ uses : phoenix-actions/test-reporting@v15
118
124
id : unit-test-report-mac
119
125
if : success() || failure()
120
126
with :
@@ -152,7 +158,7 @@ jobs:
152
158
flag-name : linux
153
159
parallel : true
154
160
- name : Generate unit test report
155
- uses : phoenix-actions/test-reporting@v12
161
+ uses : phoenix-actions/test-reporting@v15
156
162
id : unit-test-report-linux
157
163
if : success() || failure()
158
164
with :
0 commit comments