File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed
Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Integration Tests
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+
8+ jobs :
9+ test-integration :
10+ name : Run Integration Tests
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+
17+ - name : Set up Go
18+ uses : actions/setup-go@v4
19+ with :
20+ go-version : ' 1.21'
21+ cache : true
22+
23+ - name : Install Temporal CLI
24+ run : |
25+ curl -sSf https://temporal.download/cli.sh | sh
26+ sudo mv temporal /usr/local/bin/
27+
28+ - name : Install kubectl
29+ uses : azure/setup-kubectl@v3
30+ with :
31+ version : ' latest'
32+
33+ - name : Install Helm
34+ uses : azure/setup-helm@v3
35+ with :
36+ version : ' v3.14.3'
37+
38+ - name : Install controller-gen
39+ run : |
40+ go install sigs.k8s.io/controller-tools/cmd/[email protected] 41+
42+ - name : Install envtest
43+ run : |
44+ go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
45+
46+ - name : Download dependencies
47+ run : go mod download
48+
49+ - name : Run integration tests
50+ run : make test-integration
51+
52+ - name : Upload test results
53+ if : always()
54+ uses : actions/upload-artifact@v4
55+ with :
56+ name : test-results
57+ path : |
58+ cover.out
59+ bin/
60+ retention-days : 7
You can’t perform that action at this time.
0 commit comments