enable PYTHONFAULTHANDLER for segfault tracebacks

This commit is contained in:
2023-03-18 11:48:03 +01:00
parent 2edc68151d
commit a80b568894

View File

@ -14,6 +14,7 @@ tests:
variables: variables:
QT_QPA_PLATFORM: "offscreen" QT_QPA_PLATFORM: "offscreen"
XDG_RUNTIME_DIR: "/tmp/runtime-root" XDG_RUNTIME_DIR: "/tmp/runtime-root"
PYTHONFAULTHANDLER: 1
script: script:
- *install-grum-test - *install-grum-test
- coverage run --source=./grum -m pytest ./tests --junitxml=report-junit.xml - coverage run --source=./grum -m pytest ./tests --junitxml=report-junit.xml
@ -34,6 +35,7 @@ tests-3.6:
variables: variables:
QT_QPA_PLATFORM: "offscreen" QT_QPA_PLATFORM: "offscreen"
XDG_RUNTIME_DIR: "/tmp/runtime-root" XDG_RUNTIME_DIR: "/tmp/runtime-root"
PYTHONFAULTHANDLER: 1
script: script:
- *install-grum-test - *install-grum-test
- pytest ./tests - pytest ./tests