25 lines
356 B
YAML
25 lines
356 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: install
|
||
|
image: golang:1.15
|
||
|
volumes:
|
||
|
- name: cache
|
||
|
path: /go
|
||
|
commands:
|
||
|
- go test -i server/...
|
||
|
|
||
|
- name: test
|
||
|
image: golang:1.15
|
||
|
volumes:
|
||
|
- name: cache
|
||
|
path: /go
|
||
|
commands:
|
||
|
- go test server/...
|
||
|
|
||
|
volumes:
|
||
|
- name: cache
|
||
|
temp: {}
|