Skip to content

ci: add ut and e2e test #1

ci: add ut and e2e test

ci: add ut and e2e test #1

Workflow file for this run

name: Run E2E test
on:
push:
branches: [main, release-*]
pull_request:
branches: [main, release-*]
jobs:
setup-kind-helm:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Kind
run: |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.30.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
- name: Create Kind Cluster
run: |
kind create cluster --wait 120s
- name: Install Helm
run: |
curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
- name: Check cluster and helm
run: |
kubectl get nodes
helm version
kubectl cluster-info