Skip to content

Add test comment back #26

Add test comment back

Add test comment back #26

Workflow file for this run

name: unit
env:
K8S_VERSION: 1.19.2
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
merge_group:
jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
- name: Envtest setup
run: |
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
setup-envtest use ${K8S_VERSION}
- name: Run unit tests
run: KUBEBUILDER_ASSETS=$(setup-envtest use -i -p path ${K8S_VERSION}) make unit