Skip to content

Commit c854df3

Browse files
committed
Ci: force success the testing command, preserve the return code though
1 parent bb25e9b commit c854df3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci_pybindings.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ jobs:
6161
run: |
6262
source venv/bin/activate
6363
export QT_QPA_PLATFORM=offscreen
64-
timeout 3s env LD_LIBRARY_PATH=$VIRTUAL_ENV/lib/python3.13/site-packages/PySide6 python py/demo.py
65-
if [[ $? -ne 124 ]]; then exit 1; fi
64+
timeout 3s env LD_LIBRARY_PATH=$VIRTUAL_ENV/lib/python3.13/site-packages/PySide6 python py/demo.py || rc=$?
65+
if [[ $rc -ne 124 ]]; then exit 1; fi

0 commit comments

Comments
 (0)