File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 11
11
env :
12
12
DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX : 2
13
13
ENABLED_MULTI_STAGE_BUILD : true
14
+ ENABLED_UNIT_TESTS : true
14
15
15
16
jobs :
16
17
build :
47
48
name : storage
48
49
path : ${{ github.workspace }}/artifacts
49
50
name : ' Upload Package'
51
+
52
+ test :
53
+ name : Unit Test
54
+ runs-on : ${{ matrix.os }}
55
+ env :
56
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
57
+ strategy :
58
+ matrix :
59
+ os : [windows-latest, ubuntu-latest, macos-latest]
60
+ fail-fast : false
61
+
62
+ steps :
63
+ - uses : actions/checkout@v2
64
+ - name : Fetch all history for all tags and branches
65
+ run : |
66
+ git fetch --prune --unshallow
67
+ - name : Cache tools
68
+ id : cache-tools
69
+ uses : actions/cache@v1
70
+ with :
71
+ path : tools
72
+ key : ${{ runner.os }}-tools-${{ hashFiles('build.cake') }}
73
+ - name : Cache dotnet
74
+ id : cache-dotnet
75
+ uses : actions/cache@v1
76
+ with :
77
+ path : .dotnet
78
+ key : ${{ runner.os }}-dotnet-${{ hashFiles('build.config') }}
79
+ - name : ' [Run Test]'
80
+ shell : pwsh
81
+ run : ./build.ps1 -target Test
You can’t perform that action at this time.
0 commit comments