forked from python-babel/babel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (35 loc) · 789 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
[tox]
isolated_build = true
envlist =
py{38,39,310,311,312}
pypy3
py{38}-pytz
py{311,312}-setuptools
[testenv]
extras =
dev
deps =
{env:BABEL_TOX_EXTRA_DEPS:}
backports.zoneinfo;python_version<"3.9"
tzdata;sys_platform == 'win32'
pytz: pytz
setuptools: setuptools
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
BABEL_TOX_INI_DIR={toxinidir}
passenv =
BABEL_*
PYTEST_*
PYTHON_*
# To let pytest-github-actions-annotate-failures know it's running in GitHub Actions:
GITHUB_ACTIONS
[gh-actions]
python =
pypy3: pypy3
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312