This repository was archived by the owner on Apr 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +52
-64
lines changed Expand file tree Collapse file tree 3 files changed +52
-64
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: Apache-2.0
2+
3+ name : Verify Build
4+
5+ on :
6+ push :
7+ branches :
8+ - main
9+ pull_request :
10+ branches :
11+ - main
12+
13+ env :
14+ GOPATH : /opt/go
15+ PATH : /opt/go/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
16+ GO_VER : 1.14.4
17+
18+ jobs :
19+ unit-tests :
20+ name : Unit Tests
21+ runs-on : ubuntu-18.04
22+ timeout-minutes : 60
23+ steps :
24+ - name : Install Go
25+ uses : actions/setup-go@v3
26+ with :
27+ go-version : ${{ env.GO_VER }}
28+ - name : Install gobin
29+ run : GO111MODULE=off go get -u github.com/myitcv/gobin
30+ - name : Checkout Fabric Code
31+ uses : actions/checkout@v3
32+ - name : Run tests
33+ run : make unit-test
34+ - name : Upload coverage to Codecov
35+ run : bash <(curl https://codecov.io/bash) -t ${{ secrets.CODECOV_UPLOAD_TOKEN }}
36+ env :
37+ CODECOV_UPLOAD_TOKEN : ${{ secrets.CODECOV_UPLOAD_TOKEN }}
38+ integration-tests :
39+ name : Integration Tests
40+ runs-on : ubuntu-18.04
41+ timeout-minutes : 60
42+ steps :
43+ - name : Install Go
44+ uses : actions/setup-go@v3
45+ with :
46+ go-version : ${{ env.GO_VER }}
47+ - name : Install gobin
48+ run : GO111MODULE=off go get -u github.com/myitcv/gobin
49+ - name : Checkout Fabric Code
50+ uses : actions/checkout@v3
51+ - name : Run tests
52+ run : make integration-test
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments