From 928784937b49fb2411349f02e1c30f0403d4a53e Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Thu, 21 Jan 2021 00:51:30 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)), ".."));