Skip to content

Commit

Permalink
test: add core dumps to track segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
maffettone committed May 9, 2024
1 parent 0433655 commit 2022b6f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,18 @@ jobs:
qserver environment open
qserver permissions reload
- name: Enable core dumps
run: |
ulimit -c unlimited
echo "CORE_DUMP_PATH=/tmp/core.%e.%p" | sudo tee -a /etc/environment
- name: Test with pytest
shell: bash -l {0}
run: |
set -vxeuo pipefail
pytest -s -v
coverage run -m pytest -s -v
coverage report
- name: Check for core dump
run: |
ls /tmp/core.*

0 comments on commit 2022b6f

Please sign in to comment.