Add coverage regex to default gitlab-ci.yml

This commit is contained in:
Chris de Graaf 2017-12-11 13:39:25 +00:00
parent 7e38c92413
commit 5683495e52
2 changed files with 2 additions and 2 deletions

View File

@ -26,6 +26,7 @@ Julia nightly:
"Coverage":
stage: coverage
coverage: /Test Coverage (\d+\.\d+%)/
image: julia:{{VERSION}}
tags:
- docker

View File

@ -8,8 +8,7 @@ generated repositories, and appropriate badge(s) to the README.
* `config_file::Union{AbstractString, Void}=""`: Path to a custom `.gitlab-ci.yml`.
If `nothing` is supplied, no file will be generated.
* `coverage::Bool=true`: Whether or not GitLab CI's built-in code coverage analysis should
be enabled. If enabled, you must set a regex in your repo settings; use
`Test Coverage (\d+.\d+)%`.
be enabled.
"""
@auto_hash_equals struct GitLabCI <: GenericPlugin
gitignore::Vector{AbstractString}