File tree Expand file tree Collapse file tree 2 files changed +33
-14
lines changed Expand file tree Collapse file tree 2 files changed +33
-14
lines changed Original file line number Diff line number Diff line change
1
+ name : dotnet
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+
16
+ - name : Setup .NET Core
17
+ uses : actions/setup-dotnet@v1
18
+ with :
19
+ dotnet-version : 2.1.401
20
+
21
+ - name : Install dependencies
22
+ run : dotnet restore
23
+
24
+ - name : Build
25
+ run : dotnet build --configuration Release --no-restore
26
+
27
+ - name : Test
28
+ run : dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[JsonLD.Test*]*"
29
+
30
+ - name : Codecov
31
+ env :
32
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
33
+ run : bash <(curl -s https://codecov.io/bash)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments