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": "Coverage":
stage: coverage stage: coverage
coverage: /Test Coverage (\d+\.\d+%)/
image: julia:{{VERSION}} image: julia:{{VERSION}}
tags: tags:
- docker - 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`. * `config_file::Union{AbstractString, Void}=""`: Path to a custom `.gitlab-ci.yml`.
If `nothing` is supplied, no file will be generated. If `nothing` is supplied, no file will be generated.
* `coverage::Bool=true`: Whether or not GitLab CI's built-in code coverage analysis should * `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 be enabled.
`Test Coverage (\d+.\d+)%`.
""" """
@auto_hash_equals struct GitLabCI <: GenericPlugin @auto_hash_equals struct GitLabCI <: GenericPlugin
gitignore::Vector{AbstractString} gitignore::Vector{AbstractString}