Unverified Commit fc4fee09 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] use -1 for exit code in case of failure (#4939)

parent 3b1f16d1
...@@ -209,7 +209,7 @@ jobs: ...@@ -209,7 +209,7 @@ jobs:
run: | run: |
cd R-package/tests cd R-package/tests
exit_code=0 exit_code=0
RDscript${{ matrix.r_customization }} testthat.R >> tests.log 2>&1 || exit_code=1 RDscript${{ matrix.r_customization }} testthat.R >> tests.log 2>&1 || exit_code=-1
cat ./tests.log cat ./tests.log
exit ${exit_code} exit ${exit_code}
test-r-debian-clang: test-r-debian-clang:
......
Markdown is supported
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