From 0b791c7c7fd90d04bdc0c70b16b2ac3d8a79c80d Mon Sep 17 00:00:00 2001 From: Marius Orcsik Date: Sat, 19 Mar 2022 20:28:52 +0100 Subject: [PATCH] Fix CI pipeline --- .build.yml | 1 - Makefile | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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 := .