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