summaryrefslogtreecommitdiff
path: root/tox.ini
blob: e0e3939ed92d571d383f37e3c8bcad306276fa10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[tox]
skipsdist = true
envlist = py312,py313

[gh-actions]
python =
    3.12: py312
    3.13: py313

[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