mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-09-15 12:18:57 +00:00
run e2e tests in GitHub Actions CI
This commit is contained in:
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
@@ -24,3 +24,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./travis/kyaml-pre-commit.sh
|
run: ./travis/kyaml-pre-commit.sh
|
||||||
|
env:
|
||||||
|
KUSTOMIZE_DOCKER_E2E: true
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ lint:
|
|||||||
$(GOBIN)/golangci-lint run ./...
|
$(GOBIN)/golangci-lint run ./...
|
||||||
|
|
||||||
test:
|
test:
|
||||||
go test -timeout 45m -cover ./...
|
go test -v -timeout 45m -cover ./...
|
||||||
|
|
||||||
vet:
|
vet:
|
||||||
go vet ./...
|
go vet ./...
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ functions/examples/validator-resource-requests
|
|||||||
functions/examples/application-cr
|
functions/examples/application-cr
|
||||||
"
|
"
|
||||||
|
|
||||||
# don't run e2e tests in CI
|
# don't run e2e tests in CI by default
|
||||||
export KUSTOMIZE_DOCKER_E2E="false"
|
export KUSTOMIZE_DOCKER_E2E=${KUSTOMIZE_DOCKER_E2E:-"false"}
|
||||||
|
|
||||||
for target in $targets; do
|
for target in $targets; do
|
||||||
echo "----- Making $target -----"
|
echo "----- Making $target -----"
|
||||||
|
|||||||
Reference in New Issue
Block a user