From 468f40c70e8bda739cf687ff31f843b6a367e1e0 Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Thu, 17 Jun 2021 05:32:21 +0000 Subject: [PATCH] Cirrus: Fix nctestsuite when GOPATH not set --- .cirrus.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cirrus.yml b/.cirrus.yml index 4a70a34..9538cb6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -128,6 +128,7 @@ task: test_script: - cd $(go env GOPATH)/src/github.com/"$CIRRUS_REPO_FULL_NAME" - go install -tags "$GOX_TAGS" -v ./... + - export GOPATH=$(go env GOPATH) - go test -tags "$GOX_TAGS" -v github.com/$CIRRUS_REPO_FULL_NAME/... env: GOX_TAGS: ""