Skip to content

Commit

Permalink
Tox: also test with pytz installed (#974)
Browse files Browse the repository at this point in the history
* Tox: also test with pytz installed
* Tox: return to tox-gh-actions (which now supports Tox 4)
  • Loading branch information
akx committed Feb 28, 2023
1 parent 373a52f commit d597370
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -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:
Expand Down
16 changes: 9 additions & 7 deletions tox.ini
Expand Up @@ -2,6 +2,7 @@
envlist =
py{37,38,39,310,311}
pypy3
py{37,38}-pytz

[testenv]
deps =
Expand All @@ -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 =
Expand All @@ -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

0 comments on commit d597370

Please sign in to comment.