mirror of
https://github.com/msberends/AMR.git
synced 2024-12-25 18:46:11 +01:00
gitlab ci
This commit is contained in:
parent
fdffc2791b
commit
4091f62828
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user