mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-21 11:05:44 +00:00
Refactor e2e tests
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
cec8b5336c
commit
d1982e64b2
28 changed files with 272 additions and 161 deletions
4
Makefile
4
Makefile
|
|
@ -40,10 +40,10 @@ cleanup-kind:
|
|||
rm $(TEST_KUBECONFIG)
|
||||
|
||||
test: $(EMBEDDED_MANIFESTS_TARGET) tidy fmt vet
|
||||
go test ./... -coverprofile cover.out
|
||||
go test ./... -coverprofile cover.out --tags=unit
|
||||
|
||||
e2e: $(EMBEDDED_MANIFESTS_TARGET) tidy fmt vet
|
||||
TEST_KUBECONFIG=$(TEST_KUBECONFIG) go test ./cmd/flux/... -coverprofile cover.out --tags=e2e -parallel=1
|
||||
TEST_KUBECONFIG=$(TEST_KUBECONFIG) go test ./cmd/flux/... -coverprofile e2e.cover.out --tags=e2e -v -failfast
|
||||
|
||||
test-with-kind: setup-envtest
|
||||
make setup-kind
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue