name: Conformance tests on: pull_request: branches: - 'main' - 'release*' jobs: run-conformance: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3.1.0 - name: Unshallow run: git fetch --prune --unshallow - name: Setup go uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # pin@v3.3.1 with: go-version: ~1.18.6 - name: Prep environment run: make kind-create-cluster kind-deploy-kyverno - name: Wait for Kyverno to start run: sleep 60 - name: Install kuttl run: curl -sL https://github.com/kudobuilder/kuttl/releases/download/v0.13.0/kubectl-kuttl_0.13.0_linux_x86_64 -o kuttl && chmod +x kuttl - name: Test with kuttl run: ./kuttl test --config ./test/conformance/kuttl/kuttl-test.yaml # - name: Kyverno conformance tests # run: go run ./test/conformance/main.go