Skip to content

Commit

Permalink
Run tests in verbose mode and with timeout (github)
Browse files Browse the repository at this point in the history
Also print out both linuxcnc_debug.txt and linuxcnc_print.txt
in case of failure.

Signed-off-by: Damian Wrobel <[email protected]>
  • Loading branch information
dwrobel committed Dec 12, 2023
1 parent 3621894 commit 0b69b97
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ jobs:
eatmydata ./configure --with-realtime=uspace --disable-check-runtime-deps
eatmydata make -O -j$((1+$(nproc))) default pycheck V=1
# Note that the package build covers html docs
eatmydata ../scripts/rip-environment runtests -p
sudo setcap cap_ipc_lock,cap_net_admin,cap_sys_rawio,cap_sys_nice+ep ../bin/rtapi_app
timeout --signal=9 3600 ../scripts/rip-environment runtests -vp || \
([ -e ~/linuxcnc_debug.txt ] && (echo linuxcnc_debug.txt; cat ~/linuxcnc_debug.txt); \
[ -e ~/linuxcnc_print.txt ] && (echo linuxcnc_print.txt; cat ~/linuxcnc_print.txt); \
false)
rip-and-test-clang:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 0b69b97

Please sign in to comment.