File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ 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 }}
108
110
strategy :
109
111
matrix :
110
112
os : [windows-latest, ubuntu-latest, macos-latest]
@@ -136,11 +138,6 @@ jobs:
136
138
name : ' [Build]'
137
139
shell : pwsh
138
140
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/
144
141
145
142
artifacts_windows_test :
146
143
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 ( UnitTest ) ) ]
7
+ [ IsDependentOn ( typeof ( PublishCoverage ) ) ]
8
8
public class Test : FrostingTask < BuildContext >
9
9
{
10
10
}
You can’t perform that action at this time.
0 commit comments