-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
38 lines (32 loc) · 854 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
[tox]
min_version = 4.0
env_list = py{38,39,310,311}
setenv=
RPMDYN_HOOK=0
ALLOW_MISSING_NATIVE=1
[testenv]
labels = tests
deps =
-rtest-requirements-{basepython}.txt
commands = pytest -v --cov src --cov-report html tests
setenv=
RPMDYN_HOOK=0
ALLOW_MISSING_NATIVE=1
[testenv:latest]
deps =
-rtest-requirements.in
[testenv:latest-native]
# This test config can be used to enable the tests which compare
# our alternative bindings against official native bindings.
# You need to have the native bindings available in system site-packages.
system_site_packages = True
deps =
-rtest-requirements.in
setenv=
ALLOW_MISSING_NATIVE=0
[testenv:pip-compile-py{38,39,310,311}]
labels = pip-compile
deps =
pip-tools
commands =
pip-compile -U --generate-hashes test-requirements.in -o test-requirements-{basepython}.txt