Skip to content

Commit 46d041c

Browse files
committed
fix(test): bring back build tag to exclude integration tests from unit test runs
Signed-off-by: Dorin Geman <[email protected]>
1 parent 2b73996 commit 46d041c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ integration-tests:
7373
echo "$$INVALID_TESTS" | sed 's/func \([^(]*\).*/\1/'; \
7474
exit 1; \
7575
fi
76-
@BUILD_DMR=$(BUILD_DMR) go test -v -race -count=1 -run "^TestIntegration" -timeout=5m ./cmd/cli/commands
76+
@BUILD_DMR=$(BUILD_DMR) go test -v -race -count=1 -tags=integration -run "^TestIntegration" -timeout=5m ./cmd/cli/commands
7777
@echo "Integration tests completed!"
7878

7979
validate:

cmd/cli/commands/integration_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build integration
2+
13
package commands
24

35
import (

0 commit comments

Comments
 (0)