Skip to content

Commit 608f5f0

Browse files
committed
Run C API CI under gdb
1 parent 1d63362 commit 608f5f0

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,16 @@ jobs:
126126
env:
127127
LBUG_PYTHON_BACKEND: capi
128128
run: |
129-
.venv/bin/python -m pytest -vv ./test
129+
if ! command -v gdb >/dev/null 2>&1; then
130+
sudo apt-get update
131+
sudo apt-get install -y gdb
132+
fi
133+
gdb --batch \
134+
-ex "set pagination off" \
135+
-ex "set print thread-events off" \
136+
-ex "run" \
137+
-ex "thread apply all bt full" \
138+
--args .venv/bin/python -m pytest -vv ./test
130139
131140
python-ci-pybind:
132141
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)