File tree Expand file tree Collapse file tree 2 files changed +114
-5
lines changed
Expand file tree Collapse file tree 2 files changed +114
-5
lines changed Original file line number Diff line number Diff line change 1+ name : CloudEventsIntegrationTest
2+
3+ on :
4+ workflow_dispatch : {}
5+ pull_request :
6+ paths :
7+ - ' cloudevents/**'
8+ branches :
9+ - main
10+ - release-*
11+ push :
12+ paths :
13+ - ' cloudevents/**'
14+ branches :
15+ - main
16+ - release-*
17+
18+ env :
19+ # Common versions
20+ GO_VERSION : ' 1.19'
21+ GO_REQUIRED_MIN_VERSION : ' '
22+ defaults :
23+ run :
24+ working-directory : go/src/open-cluster-management.io/api
25+
26+ jobs :
27+ verify :
28+ name : verify
29+ runs-on : ubuntu-latest
30+ steps :
31+ - name : checkout code
32+ uses : actions/checkout@v3
33+ with :
34+ fetch-depth : 1
35+ path : go/src/open-cluster-management.io/api
36+ - name : install Go
37+ uses : actions/setup-go@v3
38+ with :
39+ go-version : ${{ env.GO_VERSION }}
40+ - name : verify
41+ run : make verify
42+ env :
43+ GOPATH : ' /home/runner/work/api/api/go'
44+
45+ verify-deps :
46+ name : verify-deps
47+ runs-on : ubuntu-latest
48+ steps :
49+ - name : checkout code
50+ uses : actions/checkout@v3
51+ with :
52+ fetch-depth : 1
53+ path : go/src/open-cluster-management.io/api
54+ - name : install Go
55+ uses : actions/setup-go@v3
56+ with :
57+ go-version : ${{ env.GO_VERSION }}
58+ - name : verify-deps
59+ run : make verify-deps
60+
61+ build :
62+ name : build
63+ runs-on : ubuntu-latest
64+ steps :
65+ - name : checkout code
66+ uses : actions/checkout@v3
67+ with :
68+ fetch-depth : 1
69+ path : go/src/open-cluster-management.io/api
70+ - name : install Go
71+ uses : actions/setup-go@v3
72+ with :
73+ go-version : ${{ env.GO_VERSION }}
74+ - name : build
75+ run : make build
76+
77+ unit :
78+ name : unit
79+ runs-on : ubuntu-latest
80+ steps :
81+ - name : checkout code
82+ uses : actions/checkout@v3
83+ with :
84+ fetch-depth : 1
85+ path : go/src/open-cluster-management.io/api
86+ - name : install Go
87+ uses : actions/setup-go@v3
88+ with :
89+ go-version : ${{ env.GO_VERSION }}
90+ - name : unit
91+ run : make test
92+
93+ integration :
94+ name : integration
95+ runs-on : ubuntu-latest
96+ steps :
97+ - name : checkout code
98+ uses : actions/checkout@v3
99+ with :
100+ fetch-depth : 1
101+ path : go/src/open-cluster-management.io/api
102+ - name : install Go
103+ uses : actions/setup-go@v3
104+ with :
105+ go-version : ${{ env.GO_VERSION }}
106+ - name : cloudevents-integration
107+ run : make test-cloudevents-integration
Original file line number Diff line number Diff line change 11name : Go
22
33on :
4- push :
4+ workflow_dispatch : {}
5+ pull_request :
6+ paths-ignore :
7+ - ' cloudevents/**'
58 branches :
69 - main
710 - release-*
8- workflow_dispatch : {}
9- pull_request :
11+ push :
12+ paths-ignore :
13+ - ' cloudevents/**'
1014 branches :
1115 - main
1216 - release-*
@@ -101,5 +105,3 @@ jobs:
101105 go-version : ${{ env.GO_VERSION }}
102106 - name : api-integration
103107 run : make test-api-integration
104- - name : cloudevents-integration
105- run : make test-cloudevents-integration
You can’t perform that action at this time.
0 commit comments