Add E2E test framework and 2 simple tests #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
e2e-kind: | |
name: E2E Tests (Using KiND) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
cache: true | |
- name: Install kind | |
run: go install sigs.k8s.io/kind@latest | |
- name: Build and deploy to kind cluster | |
run: make deploy-kind | |
- name: Run e2e tests | |
run: make test-e2e |