9 lines
423 B
YAML
9 lines
423 B
YAML
Julia {{VERSION}}:
|
|
image: julia:{{VERSION}}
|
|
script: julia --project='@.' -e 'using Pkg; Pkg.build(); Pkg.test({{#GITLABCOVERAGE}}; coverage=true{{/GITLABCOVERAGE}})'
|
|
{{#GITLABCOVERAGE}}
|
|
coverage: /Test Coverage (\d+\.\d+%)/
|
|
after_script:
|
|
- julia -e 'using Printf; using Pkg; Pkg.add("Coverage"); using Coverage; c, t = get_summary(process_folder()); @printf "Test Coverage %.2f%%\n" 100c/t'
|
|
{{/GITLABCOVERAGE}}
|