kou commented on a change in pull request #12525:
URL: https://github.com/apache/arrow/pull/12525#discussion_r817308123
##########
File path: dev/tasks/docker-tests/github.linux.yml
##########
@@ -45,21 +45,29 @@ jobs:
{{ image }} \
{{ command|default("") }}
- {% if '-r' in image %}
- name: Dump R install logs
- run: cat arrow/r/check/arrow.Rcheck/00install.out
- continue-on-error: true
if: always()
+ run: |
+ log=arrow/r/check/arrow.Rcheck/00install.out
+ if [ -f ${log} ]; then
+ cat ${log}
+ fi
- name: Dump R test logs
- run: cat arrow/r/check/arrow.Rcheck/tests/testthat.Rout*
if: always()
+ run: |
+ for log in arrow/r/check/arrow.Rcheck/tests/testthat.Rout*; do
+ if [ -f ${log} ]; then
+ echo ${log}
Review comment:
It will help us to distinct file content when there are multiple log
files.
But if R developers don't need it, I can remove this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]