diff --git a/tests.sh b/tests.sh new file mode 100644 index 0000000..7f50169 --- /dev/null +++ b/tests.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +poetry run pytest -vvvv --cov=bouquin --cov-report=term-missing --disable-warnings diff --git a/tests/conftest.py b/tests/conftest.py index 8d885e6..e949b1a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -8,7 +8,7 @@ from tests.qt_helpers import AutoResponder # Force Qt *non-native* file dialog so we can type a filename programmatically. os.environ.setdefault("QT_FILE_DIALOG_ALWAYS_USE_NATIVE", "0") # 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