From 4091f6282886967601397f0169572a00484b5259 Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Fri, 15 Mar 2019 14:58:20 +0100 Subject: [PATCH] gitlab ci --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b0b9fb4d..69492de7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -84,7 +84,9 @@ coverage: script: - apt-get install --yes git # codecov token is set in https://gitlab.com/msberends/AMR/settings/ci_cd - - Rscript -e 'cc <- covr::package_coverage(); covr::codecov(coverage = cc, token = "${codecov_token}"); cat("Code coverage:", covr::percent_coverage(cc))' + - Rscript -e 'print("${codecov_token}")' + - Rscript -e 'print("$codecov_token")' + - Rscript -e 'cc <- covr::package_coverage(); covr::codecov(coverage = cc, token = "$codecov_token"); cat("Code coverage:", covr::percent_coverage(cc))' coverage: '/Code coverage: \d+\.\d+/' pages: