File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : E2E tests (PR Blocker)
2+ on :
3+ pull_request :
4+ types : [opened, synchronize, reopened]
5+ workflow_dispatch :
6+
7+ env :
8+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9+
10+ jobs :
11+ e2e-tests :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Free Disk Space
15+ uses : jlumbroso/free-disk-space@main
16+ with :
17+ tool-cache : false
18+ docker-images : false
19+ - name : Checkout code
20+ uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+ - name : Install Go
24+ uses : actions/setup-go@v5
25+ with :
26+ go-version-file : go.mod
27+ cache : true
28+ - name : Build e2e image
29+ run : make docker-build-e2e
30+ - uses : actions/cache@v4.0.2
31+ with :
32+ path : |
33+ ~/go/pkg/mod
34+ ~/.cache/go-build
35+ key : ${{ runner.os }}-test-go-${{ hashFiles('**/go.sum') }}
36+ restore-keys : |
37+ ${{ runner.os }}-test-go-${{ hashFiles('**/go.sum') }}
38+ - uses : engineerd/setup-kind@v0.5.0
39+ with :
40+ version : " v0.22.0"
41+ skipClusterCreation : " true"
42+ - name : Run E2E tests
43+ run : make GINKGO_FOCUS="\\[PR-Blocking\\]" test-e2e
44+ - name : Archive artifacts
45+ if : always()
46+ uses : actions/upload-artifact@v4.3.2
47+ with :
48+ name : e2e-artifacts
49+ path : _artifacts
50+ if-no-files-found : ignore
You can’t perform that action at this time.
0 commit comments