summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index e156596..e0e3939 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,6 +10,9 @@ python =
[testenv]
passenv = PYTHON_VERSION
allowlist_externals = poetry, pytest
+setenv =
+ QT_QPA_PLATFORM=offscreen
+ XDG_RUNTIME_DIR={toxinidir}/.xdg
commands =
poetry install -v --no-interaction --all-extras --with dev,docs
pytest --doctest-modules tests --cov --cov-config=pyproject.toml --cov-report=xml