mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
feat: ci: replace travis by github workflows
This commit is contained in:
committed by
Willem Van Onsem
parent
3b27a09a30
commit
5a8a17d144
19
tox.ini
19
tox.ini
@@ -1,8 +1,17 @@
|
||||
[tox]
|
||||
envlist = flake8,isort,py27,py34,py35,py36,py37
|
||||
envlist = py36,py37,py38,py39,py310,flake8,isort
|
||||
|
||||
[gh-actions]
|
||||
python =
|
||||
3.6: py36
|
||||
3.7: py37
|
||||
3.8: py38
|
||||
3.9: py39
|
||||
3.10: isort, flake8, py310
|
||||
|
||||
|
||||
[testenv]
|
||||
passenv = TRAVIS TRAVIS_*
|
||||
passenv = GITHUB_*
|
||||
deps =
|
||||
coverage
|
||||
delegator.py
|
||||
@@ -25,8 +34,4 @@ deps =
|
||||
isort
|
||||
delegator.py
|
||||
commands =
|
||||
isort --check-only --recursive --diff num2words tests
|
||||
|
||||
[testenv:py27]
|
||||
setenv =
|
||||
PYTHONIOENCODING = UTF-8
|
||||
isort --check-only --float-to-top --diff num2words tests
|
||||
|
||||
Reference in New Issue
Block a user