-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (46 loc) · 1.11 KB
/
tests-e2e.yaml
File metadata and controls
54 lines (46 loc) · 1.11 KB
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
49
50
51
52
53
54
name: ✔️ Tests E2E
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref_name }}
on:
push:
branches:
- main
pull_request:
jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- uses: actions/setup-node@v4
with:
node-version: 24
cache: 'yarn'
- name: Set up Docker
uses: docker/setup-buildx-action@v3
- name: Install Helm
uses: azure/setup-helm@v4
with:
version: v3.17.2
- name: Install Kind
uses: devthefuture-org/kind-with-registry-action@main
with:
kind_version: v0.27.0
kubectl_version: v1.32.2
ingress_enabled: false
registry_image: registry:2
node_image: kindest/node:v1.32.2
- name: Run E2E tests
shell: bash
# env:
run: |
set -eo errexit
export KUBECONFIG="${HOME}/.kube/config"
yarn
./tests/install-crossplane.sh
./tests/e2e.sh