Skip to content
Snippets Groups Projects
Commit 4d232d36 authored by Luca Lenz's avatar Luca Lenz
Browse files

Update .gitlab-ci.yml file

parent 7640df98
No related branches found
No related tags found
No related merge requests found
.test_template: &test_definition
only:
- master
image: julia:1.10
stage: test
script:
- julia -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("MultilevelChainSampler"); Pkg.test("MultilevelChainSampler"; coverage = true)'
- julia -e 'using Pkg; Pkg.add("Coverage");
import MultilevelChainSampler; cd(joinpath(dirname(pathof(MultilevelChainSampler)), ".."));
using Coverage; cl, tl = get_summary(process_folder());
println("(", cl/tl*100, "%) covered")'
# Name a test and select an appropriate image.
# images comes from Docker hub
test:
image: julia:1.10
<<: *test_definition
only:
- master
# Example documentation deployment
pages:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment