chore(Makefile): add target to run tests
This commit is contained in:
parent
a9fd693da2
commit
18b033add1
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
|
@ -29,3 +29,8 @@ local-migrate-drop:
|
||||||
local-db-seed:
|
local-db-seed:
|
||||||
@echo "Seeding database..."
|
@echo "Seeding database..."
|
||||||
@APP_ENV="development" DATABASE_URL_FILE="secrets/postgres_url" go run ./cmd/seed/main.go
|
@APP_ENV="development" DATABASE_URL_FILE="secrets/postgres_url" go run ./cmd/seed/main.go
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
|
test:
|
||||||
|
@echo "Running tests..."
|
||||||
|
@go test -v ./...
|
||||||
|
|
|
||||||
Reference in a new issue