pipreqs/tox.ini
Alan Barzilay 2b59751cb8 Add tox tests & coveralls github action
This commit essentially adds back tests to our CI pipeline. They were
previously dropped due to Travis pricing policy change.

This workflow utilizes a few interesting projects to make this action
easier to maintain such as the coveralls github action
(https://github.com/marketplace/actions/coveralls-github-action)
and the tox-gh-actions project
(https://github.com/ymyzk/tox-gh-actions)
2021-09-03 23:51:43 -03:00

17 lines
295 B
INI

[tox]
envlist = py36, py37, py38, py39, pypy3, flake8
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
pypy-3.7: pypy3
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/pipreqs
commands = python setup.py test
deps =
-r{toxinidir}/requirements.txt