mirror of
https://github.com/maride/pancap.git
synced 2024-10-18 12:06:32 +00:00
24 lines
332 B
YAML
24 lines
332 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: test
|
|
image: golang:latest
|
|
commands:
|
|
- go test -cover -v .
|
|
|
|
- name: coverage
|
|
image: golang:latest
|
|
commands:
|
|
- go test -coverprofile=cover.out
|
|
- go tool cover -func=cover.out
|
|
|
|
- name: build
|
|
image: golang:latest
|
|
commands:
|
|
- go build .
|