Skip to content

Commit bdf128c

Browse files
committed
ci: run k8sfunctional suite on a kind cluster
Adds .github/workflows/functional.yml. The job provisions an ephemeral Kubernetes cluster with kind and runs the test/functional module with the k8sfunctional build tag; TestMain deploys zot from testdata/k8s and the tests exercise the public API end-to-end. Runs on pushes and PRs to main that touch Go sources or the suite. Actions are pinned to commit SHAs per repo convention. Signed-off-by: Terry Howe <terrylhowe@gmail.com>
1 parent 59c6b75 commit bdf128c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/functional.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,6 @@ jobs:
5959
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
6060
- name: Run functional tests
6161
working-directory: test/functional
62-
run: go test -v -timeout 25m ./...
62+
# The suite is behind the k8sfunctional build tag; without it go test
63+
# compiles and runs nothing.
64+
run: go test -tags k8sfunctional -v -timeout 25m ./...

0 commit comments

Comments
 (0)