From 17661d27e3b5c03960ef13ccec0a04d99a5ea491 Mon Sep 17 00:00:00 2001 From: Drew Erny Date: Wed, 16 Jan 2019 12:48:26 -0600 Subject: [PATCH] Run coverage tests once For some weird reason, make coverage runs the exact same command twice in a row. I can't find any reason why this would be needed. Removes the duplicate line, so tests only run once. Should result in a 2x speedup of CI jobs lol Signed-off-by: Drew Erny --- direct.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/direct.mk b/direct.mk index 0cdeff946a..bd45773564 100644 --- a/direct.mk +++ b/direct.mk @@ -124,7 +124,6 @@ coverage: ## generate coverprofiles from the unit tests @echo "🐳 $@" @( for pkg in $(filter-out ${INTEGRATION_PACKAGE},${PACKAGES}); do \ go test ${RACE} -tags "${DOCKER_BUILDTAGS}" -test.short -coverprofile="../../../$$pkg/coverage.txt" -covermode=atomic $$pkg || exit; \ - go test ${RACE} -tags "${DOCKER_BUILDTAGS}" -test.short -coverprofile="../../../$$pkg/coverage.txt" -covermode=atomic $$pkg || exit; \ done ) .PHONY: coverage-integration