summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2023-02-28 09:40:35 +0200
committerGitHub <noreply@github.com>2023-02-28 09:40:35 +0200
commitd597370bfcaa8c7421ec5639ecda7b55467167dc (patch)
tree65f2212fe4722aadbca8ad4daeffdc6ed2b0e128
parent373a52f0425d0af1e578e8562a8db93fc3a02488 (diff)
downloadbabel-d597370bfcaa8c7421ec5639ecda7b55467167dc.tar.gz
Tox: also test with pytz installed (#974)
* Tox: also test with pytz installed * Tox: return to tox-gh-actions (which now supports Tox 4)
-rw-r--r--.github/workflows/test.yml2
-rw-r--r--tox.ini16
2 files changed, 10 insertions, 8 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e87f23e..a35a1b4 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -40,7 +40,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
- python -m pip install 'tox~=4.0' 'tox-gh~=1.0'
+ python -m pip install 'tox~=4.0' 'tox-gh-actions~=3.0'
- name: Run test via Tox
run: tox --skip-missing-interpreters
env:
diff --git a/tox.ini b/tox.ini
index 551d201..1156fec 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,7 @@
envlist =
py{37,38,39,310,311}
pypy3
+ py{37,38}-pytz
[testenv]
deps =
@@ -10,6 +11,7 @@ deps =
freezegun==0.3.12
backports.zoneinfo;python_version<"3.9"
tzdata;sys_platform == 'win32'
+ pytz: pytz
allowlist_externals = make
commands = make clean-cldr test
setenv =
@@ -19,11 +21,11 @@ passenv =
PYTEST_*
PYTHON_*
-[gh]
+[gh-actions]
python =
- pypy3 = pypy3
- 3.7 = py37
- 3.8 = py38
- 3.9 = py39
- 3.10 = py310
- 3.11 = py311
+ pypy3: pypy3
+ 3.7: py37
+ 3.8: py38
+ 3.9: py39
+ 3.10: py310
+ 3.11: py311