File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ jobs:
105105 name : Unit Test code
106106 needs : [prepare]
107107 runs-on : ${{ matrix.os }}
108+ env :
109+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
108110 strategy :
109111 matrix :
110112 os : [windows-latest, ubuntu-latest, macos-latest]
@@ -136,11 +138,6 @@ jobs:
136138 name : ' [Build]'
137139 shell : pwsh
138140 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/
144141
145142 artifacts_windows_test :
146143 name : Test artifacts on windows
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace Build.Tasks
44{
55 [ TaskName ( nameof ( Test ) ) ]
66 [ TaskDescription ( "(CI only) Run the tests and publish the results" ) ]
7- [ IsDependentOn ( typeof ( UnitTest ) ) ]
7+ [ IsDependentOn ( typeof ( PublishCoverage ) ) ]
88 public class Test : FrostingTask < BuildContext >
99 {
1010 }
You can’t perform that action at this time.
0 commit comments