Skip to content

Commit 69682ec

Browse files
committed
ARROW-15810: [CI][Nightly] Check R related image strictly
Closes #12525 from kou/ci-strict-r-check Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
1 parent 16d0c8a commit 69682ec

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

‎dev/tasks/docker-tests/github.linux.yml‎

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,29 @@ jobs:
4545
{{ image }} \
4646
{{ command|default("") }}
4747
48-
{% if '-r' in image %}
4948
- name: Dump R install logs
50-
run: cat arrow/r/check/arrow.Rcheck/00install.out
51-
continue-on-error: true
5249
if: always()
50+
run: |
51+
log=arrow/r/check/arrow.Rcheck/00install.out
52+
if [ -f ${log} ]; then
53+
cat ${log}
54+
fi
5355
- name: Dump R test logs
54-
run: cat arrow/r/check/arrow.Rcheck/tests/testthat.Rout*
5556
if: always()
57+
run: |
58+
for log in arrow/r/check/arrow.Rcheck/tests/testthat.Rout*; do
59+
if [ -f ${log} ]; then
60+
echo ${log}
61+
cat ${log}
62+
fi
63+
done
5664
- name: Save the R test output
5765
if: always()
5866
uses: actions/upload-artifact@v2
5967
with:
6068
name: test-output
6169
path: arrow/r/check/arrow.Rcheck/tests/testthat.Rout*
62-
{% endif %}
70+
if-no-files-found: ignore
6371

6472
{% if arrow.branch == 'master' %}
6573
{{ macros.github_login_dockerhub()|indent }}

0 commit comments

Comments
 (0)