Skip to content

Commit

Permalink
Use gdb to get a backtrace of the segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
gbolmier committed May 21, 2024
1 parent 5983698 commit 92d61a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ jobs:
run: |
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
- name: Install gdb
run: sudo apt-get update && sudo apt-get install -y gdb

- name: pytest
run: |
poetry run pytest
gdb --batch --quiet -ex r -ex "thread apply all bt" --args "$(readlink -f $(which python3))" -m pytest -p no:faulthandler -x river/drift/binary/hddm_w.py
# poetry run pytest
# poetry run pytest -m "not datasets" --durations=10 -n logical # Run pytest on all logical CPU cores

0 comments on commit 92d61a7

Please sign in to comment.