Skip to content

Commit d597370

Browse files
authored
Tox: also test with pytz installed (#974)
* Tox: also test with pytz installed * Tox: return to tox-gh-actions (which now supports Tox 4)
1 parent 373a52f commit d597370

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Install dependencies
4141
run: |
4242
python -m pip install --upgrade pip setuptools wheel
43-
python -m pip install 'tox~=4.0' 'tox-gh~=1.0'
43+
python -m pip install 'tox~=4.0' 'tox-gh-actions~=3.0'
4444
- name: Run test via Tox
4545
run: tox --skip-missing-interpreters
4646
env:

tox.ini

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
envlist =
33
py{37,38,39,310,311}
44
pypy3
5+
py{37,38}-pytz
56

67
[testenv]
78
deps =
@@ -10,6 +11,7 @@ deps =
1011
freezegun==0.3.12
1112
backports.zoneinfo;python_version<"3.9"
1213
tzdata;sys_platform == 'win32'
14+
pytz: pytz
1315
allowlist_externals = make
1416
commands = make clean-cldr test
1517
setenv =
@@ -19,11 +21,11 @@ passenv =
1921
PYTEST_*
2022
PYTHON_*
2123

22-
[gh]
24+
[gh-actions]
2325
python =
24-
pypy3 = pypy3
25-
3.7 = py37
26-
3.8 = py38
27-
3.9 = py39
28-
3.10 = py310
29-
3.11 = py311
26+
pypy3: pypy3
27+
3.7: py37
28+
3.8: py38
29+
3.9: py39
30+
3.10: py310
31+
3.11: py311

0 commit comments

Comments
 (0)