Run check-envtest-existing in GitHub PRs
Issue: [ch12210]
@@ -31,3 +31,22 @@ jobs:
- run: go mod download
- env: { KUBERNETES: "${{ matrix.kubernetes }}" }
run: ENVTEST_K8S_VERSION="${KUBERNETES#default}" make check-envtest
+
+ kubernetes-k3d:
+ if: "${{ github.repository == 'CrunchyData/postgres-operator' }}"
+ runs-on: ubuntu-latest
+ needs: [go-test]
+ strategy:
+ fail-fast: false
+ matrix:
+ kubernetes: [latest, v1.18]
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-go@v2
+ with: { go-version: 1.x }
+ - uses: nolar/setup-k3d-k3s@v1
+ with:
+ version: "${{ matrix.kubernetes }}"
+ k3d-args: --no-lb
+ - env: { PGO_TEST_TIMEOUT_SCALE: 1.2 }
+ run: make createnamespaces check-envtest-existing
