Commit 08eb8488 authored by Dorchies David's avatar Dorchies David
Browse files

ci: try to get error message

Refs #146
Showing with 11 additions and 6 deletions
+11 -6
......@@ -65,6 +65,9 @@ before_script:
- Rscript tests/scheduled_tests/regression.R compare
.check:
only:
refs:
- tags
stage: check
script:
- tlmgr update --self && tlmgr install ec epstopdf-pkg
......@@ -72,11 +75,17 @@ before_script:
- R -q -e 'rcmdcheck::rcmdcheck(args = "--as-cran", error_on = "warning")'
.test_all:
only:
refs:
- tags
stage: check
script:
- R -q -e 'devtools::test()'
benchmark_devel:
only:
refs:
- tags
extends: .R-devel
stage: check
allow_failure: true
......@@ -133,15 +142,10 @@ test_all_oldrel:
revdepcheck_devel:
stage: revdepcheck
only:
refs:
- tags
- schedule
- master
extends: .R-devel
script:
- R -q -e 'remotes::install_github("https://github.com/r-lib/revdepcheck")'
- R -q -e 'revdepcheck::revdep_check(num_workers = 2)'
- R -q -e 'revdepcheck::revdep_check(quiet = FALSE)'
- R -q -e 'stopifnot(all("+" == sapply(revdepcheck::revdep_summary(), "[[", "status")))'
- R -q -e 'if (any(sapply(revdepcheck::revdep_summary(), function(x) {any(x$cmp$change == 1)}))) stop()'
artifacts:
......@@ -150,3 +154,4 @@ revdepcheck_devel:
- revdep/problems.md
- revdep/failures.md
- revdep/cran.md
- revdep/checks
Supports Markdown
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