23 lines
370 B
YAML
23 lines
370 B
YAML
|
kind: pipeline
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: golang:latest
|
||
|
commands:
|
||
|
- make test
|
||
|
|
||
|
- name: coverage
|
||
|
image: plugins/codecov
|
||
|
settings:
|
||
|
token:
|
||
|
from_secret: codecov-token
|
||
|
|
||
|
- name: notify
|
||
|
image: plugins/webhook
|
||
|
urls: https://msgbus.mills.io/ci.mills.io
|
||
|
when:
|
||
|
status:
|
||
|
- success
|
||
|
- failure
|