Skip to content

Commit 8847d19

Browse files
authored
Merge pull request #3867 from camilamacedo86/fix-ci
🌱 ci: fix go sample e2e tests
2 parents a2dfc89 + a72d246 commit 8847d19

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/test-sample-go.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: project-v4-sample
1+
name: run-test-e2e-for-project-v4-sample
22

33
on:
44
push:
@@ -8,10 +8,6 @@ jobs:
88
test:
99
name: Run on Ubuntu
1010
runs-on: ubuntu-latest
11-
env:
12-
KIND_K8S_VERSION: v1.29.0
13-
tools_k8s_version: 1.29.0
14-
kind_version: 0.22.0
1511
steps:
1612
- name: Clone the code
1713
uses: actions/checkout@v4
@@ -21,16 +17,6 @@ jobs:
2117
with:
2218
go-version: '~1.21'
2319

24-
- name: Install Kind
25-
run: go install sigs.k8s.io/kind@v$kind_version
26-
27-
28-
- name: Install setup-envtest
29-
run: go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
30-
31-
- name: Install e2e tools with setup-envtest
32-
run: setup-envtest use $tools_k8s_version
33-
3420
- name: Create kind cluster
3521
run: kind create cluster
3622

@@ -45,7 +31,5 @@ jobs:
4531
- name: Test
4632
run: |
4733
cd testdata/project-v4
48-
go get -u ./...
4934
go mod tidy
5035
make test-e2e
51-

0 commit comments

Comments
 (0)