forked from clusterlink-net/clusterlink
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 893 Bytes
/
pr-e2e-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: PR check - e2e tests
on:
pull_request:
branches: [ main ]
jobs:
e2e-connectivity-test:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.20']
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Install kind
uses: helm/[email protected]
with:
install_only: true
- name: checkout
uses: actions/checkout@v3
- name: Run build
run: make build
- name: Build docker images
run: make docker-build
- name: Run e2e connectivity test on a kind cluster
run: sleep 550 && ./tests/k8s.sh
timeout-minutes: 10
- name: Run e2e connectivity test on a kind cluster with go dataplane
run: ./tests/k8s.sh go
timeout-minutes: 10
- name: Run end-to-end tests
run: make tests-e2e
timeout-minutes: 10