diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 0edb119..4a05eb9 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -19,5 +19,13 @@ jobs: uses: helm/kind-action@v1 - name: Run the tests run: | - kubectl apply -f manifests/example.yaml --validate=false - tilt ci + export KUBECONFIG=$HOME/.kube/config # if not already set + export KIND_EXPERIMENTAL_DOCKER_NETWORK=${{ job.container.network }} + + kind create cluster \ + --kubeconfig $KUBECONFIG \ + --config=./kind-config.yaml + + kubectl config set-cluster kind-kind --server=https://kind-control-plane:6443 + kubectl apply -f manifests/example.yaml --validate=false + tilt ci