CI: Add timeouts to Python tests to prevent hanging
This commit is contained in:
@@ -88,7 +88,9 @@ jobs:
|
||||
run: pixi run install-release
|
||||
|
||||
- name: Run Python CLI tests
|
||||
run: pixi run build/release/bin/FreeCADCmd -t 0 || true
|
||||
timeout-minutes: 10
|
||||
run: pixi run timeout 300 build/release/bin/FreeCADCmd -t 0 || true
|
||||
|
||||
- name: Run GUI tests (headless)
|
||||
run: pixi run xvfb-run build/release/bin/FreeCAD -t 0 || true
|
||||
timeout-minutes: 10
|
||||
run: pixi run timeout 300 xvfb-run -a build/release/bin/FreeCAD -t 0 || true
|
||||
|
||||
Reference in New Issue
Block a user