Skip to content

Commit f2fac29

Browse files
committed
Test all examples in PR github action
1 parent c50f379 commit f2fac29

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Diff for: .github/workflows/pr.yml

+17
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,23 @@ jobs:
2121
working-directory: charts/rabbitmq
2222
run: ./test.sh
2323

24+
test-all-examples:
25+
name: test-all-examples
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Check out code into the Go module directory
29+
uses: actions/checkout@v2
30+
- name: System tests
31+
run: |
32+
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
33+
export GOPATH=$HOME/go
34+
export PATH=$PATH:$GOPATH/bin
35+
make install-tools
36+
kind create cluster --image kindest/node:v1.19.1
37+
kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/latest/download/cert-manager.crds.yaml
38+
make install
39+
kubectl apply --dry-run=server --recursive -f docs/examples/
40+
2441
system_tests:
2542
name: system tests
2643
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)