diff --git a/.drone.jsonnet b/.drone.jsonnet index 4c97a33..1b45004 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -69,7 +69,10 @@ local PipelineBuild(GOOS, GOARCH, RUN_TEST) = { if RUN_TEST then [{ name: 'go test', image: 'golang:1.19', - commands: ['go test -v ./...'], + commands: [ + 'apt-get update && apt-get -y install zlib1g-dev', + 'go test -v ./...' + ], }] else [] ) + diff --git a/.drone.yml b/.drone.yml index f0ffa1a..508115c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,7 @@ steps: image: alpine/git name: fetch tags - commands: + - apt-get update && apt-get -y install zlib1g-dev - go test -v ./... image: golang:1.19 name: go test