Изменил(а) на '.drone.yml'

This commit is contained in:
neonxp 2022-08-03 01:13:58 +03:00
parent 6c0acb15d1
commit 609a8002d1

View file

@ -1,13 +1,14 @@
build:
image: golang:1.18.5
environment:
- GOOS=linux
- GOARCH=amd64
- CGO_ENABLED=0
commands:
- go test -cover -coverprofile coverage.out
---
kind: pipeline
type: docker
name: linux-amd64
publish:
coverage:
when:
branch: master
platform:
arch: amd64
os: linux
steps:
- name: test
image: golang:1.14.15
commands:
- go test ./...