Skip to content

Commit

Permalink
ci: fix go sample e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 committed Apr 20, 2024
1 parent a2dfc89 commit a72d246
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/test-sample-go.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: project-v4-sample
name: run-test-e2e-for-project-v4-sample

on:
push:
Expand All @@ -8,10 +8,6 @@ jobs:
test:
name: Run on Ubuntu
runs-on: ubuntu-latest
env:
KIND_K8S_VERSION: v1.29.0
tools_k8s_version: 1.29.0
kind_version: 0.22.0
steps:
- name: Clone the code
uses: actions/checkout@v4
Expand All @@ -21,16 +17,6 @@ jobs:
with:
go-version: '~1.21'

- name: Install Kind
run: go install sigs.k8s.io/kind@v$kind_version


- name: Install setup-envtest
run: go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest

- name: Install e2e tools with setup-envtest
run: setup-envtest use $tools_k8s_version

- name: Create kind cluster
run: kind create cluster

Expand All @@ -45,7 +31,5 @@ jobs:
- name: Test
run: |
cd testdata/project-v4
go get -u ./...
go mod tidy
make test-e2e

0 comments on commit a72d246

Please sign in to comment.