diff --git a/.build.yml b/.build.yml index e4fd8e2..6839cc5 100644 --- a/.build.yml +++ b/.build.yml @@ -10,7 +10,6 @@ environment: tasks: - tests: | cd activitypub - go mod vendor make test make TEST_TARGET=./tests test - coverage: | diff --git a/Makefile b/Makefile index ee7cc20..d76270b 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,12 @@ TEST_TARGET ?= . GO111MODULE = on PROJECT_NAME := $(shell basename $(PWD)) -.PHONY: test coverage clean +.PHONY: test coverage clean download -test: +download: + $(GO) mod download all + +test: download $(TEST) $(TEST_FLAGS) $(TEST_TARGET) coverage: TEST_TARGET := .