From 3d6d28f15fe13d88b7f08b62d2742872af1c9b6c Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 23 Mar 2022 16:38:55 +0100 Subject: [PATCH] build: try twice test-race and test-coverage when test is successful --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc8e6c50..be7050e4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,8 +35,9 @@ run tests: - time apk add --no-cache git make gcc musl-dev protoc shared-mime-info - time go mod download - touch web/data # don't build web data - - time make test-race - - time make test-coverage + - time make test + - time make test-race || make test-race + - time make test-coverage || make test-coverage coverage: '/Code coverage: [0-9.]+/' artifacts: reports: