asD
This commit is contained in:
16
.github/workflows/test-e2e.yml
vendored
16
.github/workflows/test-e2e.yml
vendored
@@ -8,7 +8,6 @@ jobs:
|
||||
test-e2e:
|
||||
name: Run on Ubuntu
|
||||
runs-on: ubuntu-20.04
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- name: Clone the code
|
||||
uses: actions/checkout@v4
|
||||
@@ -33,6 +32,9 @@ jobs:
|
||||
- name: Verify kind installation
|
||||
run: kind version
|
||||
|
||||
- name: Remove kind cluster
|
||||
run: kind delete cluster | true
|
||||
|
||||
- name: Create kind cluster
|
||||
run: kind create cluster
|
||||
|
||||
@@ -40,15 +42,3 @@ jobs:
|
||||
run: |
|
||||
go mod tidy
|
||||
make test-e2e
|
||||
|
||||
after-test:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test-e2e]
|
||||
steps:
|
||||
- name: Install the latest version of kind
|
||||
run: |
|
||||
curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-arm64
|
||||
chmod +x ./kind
|
||||
sudo mv ./kind /usr/local/bin/kind
|
||||
- name: Delete kind cluster
|
||||
run: kind delete cluster
|
||||
|
||||
Reference in New Issue
Block a user