Debian Codegraph @

tox.ini

raw
1 [tox]
2 isolated_build = true
3 envlist =
4 py{38,39,310,311,312,313,314,315}
5 pypy3
6 py{38}-pytz
7 py{311,312,313,314,315}-setuptools
8 py{312,313,314,315}-jinja
9
10 [testenv]
11 extras =
12 dev
13 deps =
14 # On Python 3.9, we need a version of Setuptools that still has pkg_resources
15 # to be able to run the Jinja extractor tests.
16 py39: setuptools<82
17 {env:BABEL_TOX_EXTRA_DEPS:}
18 allowlist_externals = make
19 commands = make clean-cldr test
20 setenv =
21 PYTEST_FLAGS=--cov=babel --cov-report=xml:{env:COVERAGE_XML_PATH:.coverage_cache}/coverage.{envname}.xml
22 BABEL_TOX_INI_DIR={toxinidir}
23 passenv =
24 BABEL_*
25 PYTEST_*
26 PYTHON_*
27 # To let pytest-github-actions-annotate-failures know it's running in GitHub Actions:
28 GITHUB_ACTIONS
29
30 [gh-actions]
31 python =
32 pypy3: pypy3
33 3.8: py38
34 3.9: py39
35 3.10: py310
36 3.11: py311
37 3.12: py312
38 3.13: py313
39 3.14: py314
40 3.15: py315