-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (38 loc) · 920 Bytes
/
e2e.yaml
File metadata and controls
48 lines (38 loc) · 920 Bytes
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
37
38
39
40
41
42
43
44
45
46
47
48
name: E2E Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
e2e:
name: E2E Tests
runs-on: ubuntu-latest
env:
KIND_CLUSTER: e2e
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup go
uses: actions/setup-go@v6
with:
go-version-file: "go.mod"
cache: true
- name: Setup ko
uses: ko-build/setup-ko@v0.9
- name: Setup helm
uses: azure/setup-helm@v5
- name: Setup kind
uses: helm/kind-action@v1
with:
cluster_name: ${{ env.KIND_CLUSTER }}
- name: Run E2E tests
env:
GTM_APP_ID: ${{ vars.GTM_APP_ID }}
GTM_INSTALLATION_ID: ${{ vars.GTM_INSTALLATION_ID }}
GTM_PROVIDER: file
GTM_KEY: ${{ secrets.GTM_KEY }}
run: |
make test-e2e