Skip to content

Commit

Permalink
chore: use instead of
Browse files Browse the repository at this point in the history
�[38;5;228mGinkgo 2.0 is coming soon!�[0m
�[38;5;228m==========================�[0m
�[1m�[38;5;10mGinkgo 2.0�[0m is under active development and will introduce several new features, improvements, and a small handful of breaking changes.
A release candidate for 2.0 is now available and 2.0 should GA in Fall 2021.  �[1mPlease give the RC a try and send us feedback!�[0m
  - To learn more, view the migration guide at �[38;5;14m�[4mhttps://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md�[0m
  - For instructions on using the Release Candidate visit �[38;5;14m�[4mhttps://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#using-the-beta�[0m
  - To comment, chime in at �[38;5;14m�[4mhttps://github.com/onsi/ginkgo/issues/711�[0m

To �[1m�[38;5;204msilence this notice�[0m, set the environment variable: �[1mACK_GINKGO_RC=true�[0m
Alternatively you can: �[1mtouch $HOME/.ack-ginkgo-rc�[0m
  • Loading branch information
ellistarn committed Jul 5, 2022
1 parent 0027187 commit 18a3c07
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ help: ## Display help

dev: verify test ## Run all steps in the developer loop

ci: toolchain verify licenses battletest ## Run all steps used by continuous integration
ci: toolchain verify licenses battletest coverage ## Run all steps used by continuous integration

test: ## Run tests
go test -v ./pkg/...
go test ./pkg/...

strongertests:
# Run randomized, racing, code coveraged, tests
ginkgo -r \
-cover -coverprofile=coverage.out -outputdir=. -coverpkg=./pkg/... \
--randomizeAllSpecs --randomizeSuites -race ./pkg/...
battletest: ## Run randomized, racing, code coveraged, tests
go test ./pkg/... \
-race \
-cover -coverprofile=coverage.out -outputdir=. -coverpkg=./pkg/... \
-ginkgo.randomizeAllSpecs

e2etests: ## Run the e2e suite against your local cluster
go test -v ./test/... -environment-name=${CLUSTER_NAME}
Expand All @@ -39,10 +39,10 @@ benchmark:
go test -tags=test_performance -run=NoTests -bench=. ./...

deflake:
for i in $(shell seq 1 5); do make strongertests || exit 1; done
ginkgo -r pkg -race -tags random_test_delay
for i in $(shell seq 1 5); do make battletest || exit 1; done
go test ./pkg/... -race -tags random_test_delay

battletest: strongertests
coverage:
go tool cover -html coverage.out -o coverage.html

verify: codegen ## Verify code. Includes dependencies, linting, formatting, etc
Expand Down
1 change: 0 additions & 1 deletion hack/toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ tools() {
go install github.com/google/[email protected]
go install github.com/mikefarah/yq/[email protected]
go install github.com/norwoodj/helm-docs/cmd/[email protected]
go install github.com/onsi/ginkgo/[email protected]
go install sigs.k8s.io/controller-runtime/tools/[email protected]
go install sigs.k8s.io/controller-tools/cmd/[email protected]
go install github.com/sigstore/cosign/cmd/[email protected]
Expand Down

0 comments on commit 18a3c07

Please sign in to comment.