summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 551d201158e2296308b15b27fafe25b7e000b4bd (plain)
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
[tox]
envlist =
    py{37,38,39,310,311}
    pypy3

[testenv]
deps =
    pytest>=6.0
    pytest-cov
    freezegun==0.3.12
    backports.zoneinfo;python_version<"3.9"
    tzdata;sys_platform == 'win32'
allowlist_externals = make
commands = make clean-cldr test
setenv =
    PYTEST_FLAGS=--cov=babel --cov-report=xml:{env:COVERAGE_XML_PATH:.coverage_cache}/coverage.{envname}.xml
passenv =
    BABEL_*
    PYTEST_*
    PYTHON_*

[gh]
python =
    pypy3 = pypy3
    3.7 = py37
    3.8 = py38
    3.9 = py39
    3.10 = py310
    3.11 = py311