run e2e tests in GitHub Actions CI

This commit is contained in:
Phillip Wittrock
2020-05-06 08:21:32 -07:00
parent d16d1f81b0
commit 259624ac07
3 changed files with 5 additions and 3 deletions

View File

@@ -24,3 +24,5 @@ jobs:
- name: Build
run: ./travis/kyaml-pre-commit.sh
env:
KUSTOMIZE_DOCKER_E2E: true

View File

@@ -32,7 +32,7 @@ lint:
$(GOBIN)/golangci-lint run ./...
test:
go test -timeout 45m -cover ./...
go test -v -timeout 45m -cover ./...
vet:
go vet ./...

View File

@@ -18,8 +18,8 @@ functions/examples/validator-resource-requests
functions/examples/application-cr
"
# don't run e2e tests in CI
export KUSTOMIZE_DOCKER_E2E="false"
# don't run e2e tests in CI by default
export KUSTOMIZE_DOCKER_E2E=${KUSTOMIZE_DOCKER_E2E:-"false"}
for target in $targets; do
echo "----- Making $target -----"