File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,6 @@ jobs:
105105 name : Unit Test code
106106 needs : [prepare]
107107 runs-on : ${{ matrix.os }}
108- env :
109- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
110108 strategy :
111109 matrix :
112110 os : [windows-latest, ubuntu-latest, macos-latest]
@@ -138,6 +136,11 @@ jobs:
138136 name : ' [Build]'
139137 shell : pwsh
140138 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/
141144
142145 artifacts_windows_test :
143146 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 ( PublishCoverage ) ) ]
7+ [ IsDependentOn ( typeof ( UnitTest ) ) ]
88 public class Test : FrostingTask < BuildContext >
99 {
1010 }
You can’t perform that action at this time.
0 commit comments