mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 06:06:12 +01:00
gitlab ci
This commit is contained in:
parent
fdffc2791b
commit
4091f62828
@ -84,7 +84,9 @@ coverage:
|
|||||||
script:
|
script:
|
||||||
- apt-get install --yes git
|
- apt-get install --yes git
|
||||||
# codecov token is set in https://gitlab.com/msberends/AMR/settings/ci_cd
|
# 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+/'
|
coverage: '/Code coverage: \d+\.\d+/'
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
|
Loading…
Reference in New Issue
Block a user