Commit 75b456f3 authored by Lukas Böhm's avatar Lukas Böhm 🎱
Browse files

Update .gitlab-ci.yml file

parent 24dcc718
Pipeline #59912 failed with stage
in 15 seconds
......@@ -18,6 +18,8 @@ variables:
# repository in /go/src/gitlab.com/namespace/project
# Thus, making a symbolic link corrects this.
before_script:
- mkdir -p $GOPATH/src/$(dirname $REPO_NAME)
- ln -svf $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME
- cd $CI_PROJECT_DIR/builds/chiefs/chiefsend2/api
- mkdir -p ./test/data
- mkdir -p ./test/temp
......@@ -32,6 +34,7 @@ stages:
test:
script:
- go mod init
- go mod tidy
- go fmt $(go list ./... | grep -v /vendor/)
- go vet $(go list ./... | grep -v /vendor/)
- go test $(go list ./... | grep -v /vendor/) -v -cover
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment