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

ci: try to get error message

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