Commit 0aa174f5 authored by Pradat Yoann's avatar Pradat Yoann

add covr::codecov to gitlab CI

parent f0fff0b5
......@@ -19,6 +19,7 @@ check:
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/tableextra_docker
script:
- Rscript -e 'if (!identical(devtools::check(document = FALSE, args = "--no-tests")[["errors"]], character(0))) stop("Check with Errors")'
- Rscript -e 'covr::codecov()'
only:
refs:
- master
......@@ -28,6 +29,7 @@ test:
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/tableextra_docker
script:
- Rscript -e 'if (any(as.data.frame(devtools::test())[["failed"]] > 0)) stop("Some tests failed.")'
- bash <(curl -s https://codecov.io/bash)
only:
refs:
- master
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment