Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
golang
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pipelines
images
test
golang
Commits
48fad5b2
Commit
48fad5b2
authored
1 year ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Run "go generate" when GO_TEST_GENERATE is defined
parent
4f17ddf6
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#56879
passed
1 year ago
Stage: build
Stage: release
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci.yml
+1
-0
1 addition, 0 deletions
ci.yml
with
1 addition
and
0 deletions
ci.yml
+
1
−
0
View file @
48fad5b2
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment