Skip to content

Set up env test

Set up env test #18

Workflow file for this run

name: Go Unit Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Setup EnvTest
run: go run sigs.k8s.io/controller-runtime/tools/setup-envtest@latest use
- name: Test
run: go test -v ./...