We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b63303 commit 6e7cb86Copy full SHA for 6e7cb86
Makefile
@@ -25,7 +25,19 @@ image:
25
docker build -t coupergateway/couper:latest .
26
27
test:
28
- go test -v -short -race -count 1 -timeout 300s ./...
+ @echo "Running tests..."
29
+ @for PACKAGE in $$(go list ./...); do \
30
+ echo "Testing $$PACKAGE"; \
31
+ if go test -v -timeout 90s -race -count=1 $$PACKAGE; then \
32
+ echo "\033[32m✔ $$PACKAGE PASSED\033[0m"; \
33
+ else \
34
+ echo "\033[31m✖ $$PACKAGE FAILED\033[0m"; \
35
+ exit 1; \
36
+ fi; \
37
+ done
38
+ @echo "\033[32m✔ All tests passed!\033[0m"
39
+
40
41
42
test-docker:
43
docker run --rm -v $(CURDIR):/go/app -w /go/app golang:$(GO_VERSION) sh -c "go test -short -count 1 -v -timeout 300s -race ./..."
0 commit comments