File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,6 @@ jobs:
105
105
name : Unit Test code
106
106
needs : [prepare]
107
107
runs-on : ${{ matrix.os }}
108
- env :
109
- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
110
108
strategy :
111
109
matrix :
112
110
os : [windows-latest, ubuntu-latest, macos-latest]
@@ -138,6 +136,11 @@ jobs:
138
136
name : ' [Build]'
139
137
shell : pwsh
140
138
run : dotnet run/build.dll --target=Test --dotnet_target=${{ matrix.targetFramework }}
139
+ -
140
+ name : Upload coverage to Codecov
141
+ uses : codecov/codecov-action@v2
142
+ with :
143
+ directory : ./artifacts/test-results/
141
144
142
145
artifacts_windows_test :
143
146
name : Test artifacts on windows
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace Build.Tasks
4
4
{
5
5
[ TaskName ( nameof ( Test ) ) ]
6
6
[ TaskDescription ( "(CI only) Run the tests and publish the results" ) ]
7
- [ IsDependentOn ( typeof ( PublishCoverage ) ) ]
7
+ [ IsDependentOn ( typeof ( UnitTest ) ) ]
8
8
public class Test : FrostingTask < BuildContext >
9
9
{
10
10
}
You can’t perform that action at this time.
0 commit comments