mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 08:06:12 +01:00
gitlab ci
This commit is contained in:
parent
48f097c5b2
commit
dc0c63132f
@ -63,7 +63,7 @@ pages:
|
||||
stage: deploy
|
||||
dependencies:
|
||||
- setup
|
||||
when: on_success
|
||||
when: always
|
||||
only:
|
||||
- master
|
||||
script:
|
||||
|
1
ci.R
1
ci.R
@ -38,6 +38,7 @@ ci_check <- function() {
|
||||
|
||||
ci_coverage <- function() {
|
||||
install_if_needed("covr")
|
||||
devtools::install()
|
||||
cc <- covr::package_coverage(type = c("tests", "examples"))
|
||||
covr::codecov(coverage = cc, token = "50ffa0aa-fee0-4f8b-a11d-8c7edc6d32ca")
|
||||
cat("Code coverage:", covr::percent_coverage(cc))
|
||||
|
Loading…
Reference in New Issue
Block a user