From 3b585b92ae546521a6b6fc994b28409c3057f1b1 Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Wed, 30 Jun 2021 09:43:06 +0200 Subject: [PATCH] FIX: CI yaml --- .gitlab-ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 55a294e..354eec9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,14 +25,14 @@ # Let's run the tests. Substitute `coverage = false` below, if you # do not want coverage results. - julia -e 'using Pkg; Pkg.clone(pwd()); - Pkg.build("CaosDB"); - Pkg.test("CaosDB"; coverage = true)' - # Comment out below if you do not want coverage results. - - julia -e 'using Pkg; Pkg.add("Coverage"); - import CaosDB; - cd(joinpath(dirname(pathof(CaosDB)), "..")); - using Coverage; cl, tl = get_summary(process_folder()); - println("(", cl/tl*100, "%) covered")' + Pkg.build("CaosDB"); + Pkg.test("CaosDB"; coverage = true)' + # Comment out below if you do not want coverage results. + - julia -e 'using Pkg; Pkg.add("Coverage"); + import CaosDB; + cd(joinpath(dirname(pathof(CaosDB)), "..")); + 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 -- GitLab