diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 556b1791b527eedea1a83146bc6a9437f60dfcfe..a8e3126c062068fbdbacada232813b8a75d7d626 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,30 +48,6 @@ code-style: # Name a test and select an appropriate image. # images comes from Docker hub -test:1.0: - stage: test - image: julia:1.0 - # Use `docker` runners - tags: [ docker ] - # Uncomment below if you would like to run the tests on specific - # references only, such as the branches `master`, `development`, - # etc. - # only: - # - master - # - development - script: - # Let's run the tests. Substitute `coverage = false` below, if you - # do not want coverage results. Use Pkg.clone for Julia 1.0 - - 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")' - test:1.6: stage: test image: julia:1.6