Commit e0023833 authored by Loïck Bonniot's avatar Loïck Bonniot
Browse files

[CI] Prepare commit artefacts

parent a95f9268
Pipeline #28 passed with stage
stages:
- test
job_tests:
Unit tests:
stage: test
tags:
- golang
......@@ -9,9 +9,14 @@ job_tests:
- strong # Disable this build on small runners
services:
- "lesterpig/mongo:latest" # Use this light version of mongo
script: "go test -cover -v ./..."
#artifacts: # Waiting GitLab 8.2.1...
# paths:
# - "coverage.html"
script:
- "go test -coverprofile c.out -v ./..."
- "go tool cover -html=c.out -o coverage.html"
job_lint:
Code lint:
stage: test
allow_failure: True
tags:
......
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