Skip to content

Enable go runner instead of script - switch on E2E_USE_GO_RUNNER #13

Enable go runner instead of script - switch on E2E_USE_GO_RUNNER

Enable go runner instead of script - switch on E2E_USE_GO_RUNNER #13

Workflow file for this run

name: Test with Kind
on: push
env:
KIND_VERSION: v0.20.0
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Install kind
run: |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/${{ env.KIND_VERSION }}/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
- name: Create kind cluster
run: |
kind create cluster
- name: Set up kubectl
run: |
kubectl cluster-info --context kind-kind
kubectl get nodes
- name: Build and test
run: |
make build
make test
- name: Run a single focused test
run: |
bin/hydrophone --focus 'Simple pod should contain last line of the log'