forked from altdesktop/python-dbus-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
40 lines (37 loc) · 814 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[tox]
min_version = 4.0
env_list =
check
py38
py39
py310
py311
py312
py313
pypy39
pypy310
[testenv]
deps =
pytest
pytest-asyncio
pytest-timeout
pytest-cov
; pygobject Getting segfaults with this on some versions - so only enable for py312 below
allowlist_externals = dbus-run-session
commands = dbus-run-session python -m pytest \
--junitxml=test-results/junit-{envname}.xml \
--cov=dbus_ezy --cov-append --cov-branch \
--cov-report=xml:test-results/cov-{envname}.xml --cov-report=html:test-results/cov-html-{envname}
[testenv:py312]
deps =
pytest
pytest-asyncio
pytest-timeout
pytest-cov
pygobject
[testenv:check]
deps = ruff
skip_install = true
commands =
ruff check --output-format=github
ruff format --check