Skip to content
Snippets Groups Projects
Commit 48fad5b2 authored by ale's avatar ale
Browse files

Run "go generate" when GO_TEST_GENERATE is defined

parent 4f17ddf6
Branches
No related tags found
No related merge requests found
Pipeline #56879 passed
......@@ -3,6 +3,7 @@ go_test:
image: registry.git.autistici.org/ai3/docker/test/golang:master
script:
- if [ -n "$GO_TEST_PACKAGES" ]; then apt-get -q update; env DEBIAN_FRONTEND=noninteractive apt-get -qy install --no-install-recommends $GO_TEST_PACKAGES; fi
- if [ -n "$GO_TEST_GENERATE" ]; then go generate ./... ; fi
- run-go-test ${GO_TEST_ARGS:-} ./...
coverage: '/overall coverage: \d+.\d+%/'
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment