diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index adcb6f5..783674a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,11 @@ script: # Let's run the tests. Substitute `coverage = false` below, if you do not # want coverage results. - - julia -e 'using Pkg; Pkg.add(pwd()); Pkg.build("AstroHelper"); Pkg.test("AstroHelper"; coverage = true)' + - julia --project -e ' + using Pkg; + Pkg.instantiate(); + Pkg.build(); + Pkg.test(; coverage=true);' # Comment out below if you do not want coverage results. # - julia -e 'using Pkg; Pkg.add("Coverage"); # import AstroHelper; cd(joinpath(dirname(pathof(AstroHelper)), ".."));