parent
5fbcdb77d4
commit
a9c976f47d
@ -69,10 +69,7 @@ local PipelineBuild(GOOS, GOARCH, RUN_TEST) = {
|
|||||||
if RUN_TEST then [{
|
if RUN_TEST then [{
|
||||||
name: 'go test',
|
name: 'go test',
|
||||||
image: 'golang:1.19',
|
image: 'golang:1.19',
|
||||||
commands: [
|
commands: ['go test -v ./...'],
|
||||||
'apt-get update && apt-get -y install zlib1g-dev',
|
|
||||||
'go test -v ./...'
|
|
||||||
],
|
|
||||||
}] else []
|
}] else []
|
||||||
)
|
)
|
||||||
+
|
+
|
||||||
|
@ -7,7 +7,6 @@ steps:
|
|||||||
image: alpine/git
|
image: alpine/git
|
||||||
name: fetch tags
|
name: fetch tags
|
||||||
- commands:
|
- commands:
|
||||||
- apt-get update && apt-get -y install zlib1g-dev
|
|
||||||
- go test -v ./...
|
- go test -v ./...
|
||||||
image: golang:1.19
|
image: golang:1.19
|
||||||
name: go test
|
name: go test
|
||||||
|
Loading…
Reference in New Issue
Block a user