mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 19:45:22 +00:00

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)
17 lines
295 B
INI
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 |