Tests
This commit is contained in:
parent
773afa5464
commit
f7903c2cd9
2 changed files with 4 additions and 1 deletions
3
tests.sh
Normal file
3
tests.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
poetry run pytest -vvvv --cov=bouquin --cov-report=term-missing --disable-warnings
|
||||||
|
|
@ -8,7 +8,7 @@ from tests.qt_helpers import AutoResponder
|
||||||
# Force Qt *non-native* file dialog so we can type a filename programmatically.
|
# Force Qt *non-native* file dialog so we can type a filename programmatically.
|
||||||
os.environ.setdefault("QT_FILE_DIALOG_ALWAYS_USE_NATIVE", "0")
|
os.environ.setdefault("QT_FILE_DIALOG_ALWAYS_USE_NATIVE", "0")
|
||||||
# For CI headless runs, set QT_QPA_PLATFORM=offscreen in the CI env
|
# For CI headless runs, set QT_QPA_PLATFORM=offscreen in the CI env
|
||||||
# os.environ.setdefault("QT_QPA_PLATFORM", "offscreen")
|
os.environ.setdefault("QT_QPA_PLATFORM", "offscreen")
|
||||||
|
|
||||||
|
|
||||||
# Make project importable
|
# Make project importable
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue