Skip to content

Commit 38964da

Browse files
committed
ci: add e2e workflow
1 parent d018b0d commit 38964da

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/e2e.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: E2E Tests
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
e2e:
14+
name: E2E Tests
15+
runs-on: ubuntu-latest
16+
17+
env:
18+
KIND_CLUSTER: e2e
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
24+
- name: Setup go
25+
uses: actions/setup-go@v5
26+
27+
- name: Setup ko
28+
uses: ko-build/[email protected]
29+
30+
- name: Setup helm
31+
uses: azure/setup-helm@v4
32+
33+
- name: Setup kind
34+
uses: helm/kind-action@v1
35+
with:
36+
cluster_name: ${{ env.KIND_CLUSTER }}
37+
38+
- name: Run E2E tests
39+
env:
40+
GTM_APP_ID: ${{ vars.GTM_APP_ID }}
41+
GTM_INSTALLATION_ID: ${{ vars.GTM_INSTALLATION_ID }}
42+
GTM_PROVIDER: file
43+
GTM_KEY: ${{ secrets.GTM_KEY }}
44+
run: |
45+
make test-e2e

0 commit comments

Comments
 (0)