From 82e2c58d0af5de0c838585f8195d8a94d8ce3f68 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Sun, 4 Aug 2019 11:19:13 +0200 Subject: [PATCH] Fix test tasks in Makefile --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e25aa9f4d..d0c204eb8 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ mailhog.up: test: # Run basic unit tests - $(GO) test ./opt/... ./internal/... ./compose/... ./messaging/... ./system/... + $(GO) test ./pkg/... ./internal/... ./compose/... ./messaging/... ./system/... test-coverage: overalls -project=github.com/cortezaproject/corteza-server -covermode=count -debug -- -coverpkg=./... --tags=integration @@ -110,9 +110,11 @@ test.store: $(GOTEST) test.cross-dep: # Outputs cross-package imports that should not be there. - grep -rE "corteza/(compose|messaging)/" system || exit 0 - grep -rE "corteza/(system|messaging)/" compose || exit 0 - grep -rE "corteza/(system|compose)/" messaging || exit 0 + grep -rE "github.com/cortezaproject/corteza-server/(compose|messaging)/" system || exit 0 + grep -rE "github.com/cortezaproject/corteza-server/(system|messaging)/" compose || exit 0 + grep -rE "github.com/cortezaproject/corteza-server/(system|compose)/" messaging || exit 0 + grep -rE "github.com/cortezaproject/corteza-server/(system|compose|messaging)/" pkg || exit 0 + grep -rE "github.com/cortezaproject/corteza-server/(system|compose|messaging)/" internal || exit 0 integration: # Run drone's integration pipeline