Skip to content

Commit 759b40c

Browse files
committed
.github: Move e2e-test workflow to pre-merge
1 parent 941b02b commit 759b40c

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/pre-merge.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ jobs:
4141
test:
4242
uses: ./.github/workflows/test.yml
4343
secrets: inherit
44+
45+
test-e2e:
46+
uses: ./.github/workflows/test-e2e.yml
47+
secrets: inherit

.github/workflows/test-e2e.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
name: E2E Tests
22

33
on:
4-
push:
5-
pull_request:
4+
workflow_call:
65

76
jobs:
87
test-e2e:
9-
name: Run on Ubuntu
10-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-24.04
119
steps:
12-
- name: Clone the code
10+
- name: Checkout
1311
uses: actions/checkout@v4
14-
1512
- name: Setup Go
1613
uses: actions/setup-go@v5
1714
with:
1815
go-version-file: go.mod
1916

20-
- name: Install the latest version of kind
17+
- name: Install kind
18+
env:
19+
KIND_VERSION: v0.30.0
2120
run: |
22-
curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-amd64
21+
curl -Lo ./kind https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64
2322
chmod +x ./kind
2423
sudo mv ./kind /usr/local/bin/kind
2524

0 commit comments

Comments
 (0)