File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ echo HUGOT_BUILD_TAG is "$HUGOT_BUILD_TAG"
1010
1111if [[ -n $HUGOT_BUILD_TAG ]]; then
1212 echo " running with -tags=ALL"
13- gotestsum --junitfile=/test/unit/unit.xml --jsonfile=/test/unit/unit.json -- -tags=ALL -coverprofile=/test/unit/cover.out.pre -coverpkg ./... -race -covermode=atomic ./...
13+ gotestsum --junitfile=/test/unit/unit.xml --jsonfile=/test/unit/unit.json -- -tags=ALL -coverprofile=/test/unit/cover.out.pre -coverpkg ./... -timeout 30m - race -covermode=atomic ./...
1414else
1515 echo " running without build tags"
16- gotestsum --junitfile=/test/unit/unit.xml --jsonfile=/test/unit/unit.json -- -coverprofile=/test/unit/cover.out.pre ./... -race -covermode=atomic ./...
16+ gotestsum --junitfile=/test/unit/unit.xml --jsonfile=/test/unit/unit.json -- -coverprofile=/test/unit/cover.out.pre ./... -timeout 30m - race -covermode=atomic ./...
1717fi
1818
1919grep -v " downloadModels.go" /test/unit/cover.out.pre > /test/unit/cover.out && rm /test/unit/cover.out.pre
You can’t perform that action at this time.
0 commit comments