Skip to content

Commit

Permalink
More changes to dump tests on timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
westonpace committed Mar 30, 2021
1 parent cc19fe0 commit 26a7da3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/r.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ jobs:
- name: Dump install logs
run: cat r/check/arrow.Rcheck/00install.out
if: always()
- name: Dump test logs
run: cat r/check/arrow.Rcheck/tests/testthat.Rout
if: always()
- name: Docker Push
if: success() && github.event_name == 'push' && github.repository == 'apache/arrow'
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/r_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ SCRIPT="as_cran <- !identical(tolower(Sys.getenv('NOT_CRAN')), 'true')
}
rcmdcheck::rcmdcheck(build_args = '--no-build-vignettes', args = c('--no-manual', '--ignore-vignettes', '--run-donttest'), error_on = 'warning', check_dir = 'check')
}"
echo "$SCRIPT" | timeout -k 900 600 ${R_BIN} --no-save
echo "$SCRIPT" | timeout -k 3600 3600 ${R_BIN} --no-save

AFTER=$(ls -alh ~/)
if [ "$NOT_CRAN" != "true" ] && [ "$BEFORE" != "$AFTER" ]; then
Expand Down
2 changes: 1 addition & 1 deletion r/tests/testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ library(testthat)
library(arrow)
library(tibble)

test_check("arrow")
test_check("arrow", reporter="location")

0 comments on commit 26a7da3

Please sign in to comment.