From c813ff00f4d226666627c4e2d43125eb67074c1b Mon Sep 17 00:00:00 2001 From: ramil Date: Mon, 19 Apr 2021 14:24:58 +0300 Subject: [PATCH] integration test: fix unit tests --- .github/workflows/on-pr.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on-pr.yaml b/.github/workflows/on-pr.yaml index b7aef4ba..f18b70ea 100644 --- a/.github/workflows/on-pr.yaml +++ b/.github/workflows/on-pr.yaml @@ -11,7 +11,7 @@ jobs: - name: Run docker build run: make docker-build test: - name: Run integration tests + name: Run unit tests env: GOPATH: /tmp/go strategy: diff --git a/Makefile b/Makefile index a8aea028..ce1ce535 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,7 @@ test: | $(GINKGO) $(GOOSE) dropdb -h $(DATABASE_HOSTNAME) -p $(DATABASE_PORT) -U $(DATABASE_USER) --if-exists $(TEST_DB) createdb -h $(DATABASE_HOSTNAME) -p $(DATABASE_PORT) -U $(DATABASE_USER) $(TEST_DB) $(GOOSE) -dir db/migrations postgres "$(TEST_CONNECT_STRING)" up - $(GINKGO) -r --skipPackage=integration_tests,integration + $(GINKGO) -r --skipPackage=integration_test,integration .PHONY: integrationtest integrationtest: | $(GINKGO) $(GOOSE)