Skip to content

Commit

Permalink
run all tests in gh action via KinD
Browse files Browse the repository at this point in the history
  • Loading branch information
cppforlife committed Mar 19, 2020
1 parent 27d1d49 commit ca06452
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test-gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
uses: actions/checkout@v1
with:
path: src/github.com/k14s/kapp
- name: Create k8s Kind Cluster
uses: helm/[email protected]
with:
cluster_name: kapp
- name: Run Tests
run: |
set -e -x
Expand All @@ -24,7 +28,8 @@ jobs:
rm -f tmp-k14s/bin/kapp
export PATH=`pwd`/tmp-k14s/bin:$PATH
./hack/build.sh
./hack/test.sh
./hack/build-binaries.sh
# TODO no e2e since there is no k8s env
export KAPP_E2E_NAMESPACE=kapp-test
kubectl create ns $KAPP_E2E_NAMESPACE
./hack/test-all.sh

0 comments on commit ca06452

Please sign in to comment.