diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 55a294ee82a3bc74ef37c8056a19f3059a6daf2e..354eec9f9e53afa03edb6d50bcd1ba01d8a7816c 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