Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
zadig-ci.yaml 643 Bytes
Copy Edit Raw Blame History
leozhang2018 authored 2021-06-24 20:12 . Zadig release v1.1.1
version: '1.0'
stages:
- clone
- ut
steps:
clone:
git: github
repo: 'https://github.com/koderover/Zadig'
revision: main
title: git clone
type: git-clone
working_directory: '${{KR_VOLUME_PATH}}'
stage: clone
ut:
title: unit test
stage: ut
image: golang:1.16.5
commands:
- go env -w GOCACHE="/koderover/volume/buildcache"
- go env -w GOMODCACHE="/koderover/volume/go/pkg/mod" GO111MODULE="on"
- export GOPROXY=https://goproxy.cn,https://goproxy.io,direct
- cd Zadig
- go test -coverprofile=coverage.xml $(cat ut.file)
working_directory: '${{KR_VOLUME_PATH}}'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化