Fix CI pipeline

This commit is contained in:
Marius Orcsik 2022-03-19 20:28:52 +01:00
parent 79c0987785
commit 0b791c7c7f
No known key found for this signature in database
GPG key ID: DBF5E47F5DBC4D21
2 changed files with 5 additions and 3 deletions

View file

@ -10,7 +10,6 @@ environment:
tasks:
- tests: |
cd activitypub
go mod vendor
make test
make TEST_TARGET=./tests test
- coverage: |

View file

@ -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 := .