mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-01 08:47:40 -04:00
23 lines
388 B
YAML
23 lines
388 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
name: test
|
||
|
|
||
|
workspace:
|
||
|
base: /go
|
||
|
path: src/gitea.com/lunny/levelqueue
|
||
|
|
||
|
steps:
|
||
|
- name: test
|
||
|
pull: default
|
||
|
image: golang:1.13
|
||
|
commands:
|
||
|
- go get -t -d -v ./...
|
||
|
- go build -v
|
||
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|
||
|
environment:
|
||
|
GO111MODULE: "on"
|
||
|
GOPROXY: https://goproxy.cn
|
||
|
when:
|
||
|
event:
|
||
|
- push
|
||
|
- pull_request
|