[tox] envlist = qa,py36,py37,py38,py39,pypy3 skip_missing_interpreters = True # we operate on sources anyway skipsdist = True [testenv:qa] deps = pyflakes commands = pyflakes {posargs:gemato tests} [testenv] deps = coverage pytest pytest-cov pytest-xdist commands = pytest -vv --cov=gemato --cov-config=.coveragerc -n auto {posargs} [testenv:upload] deps = twine wheel commands = python setup.py sdist bdist_wheel twine upload dist/* [testenv:codecov] basepython = python3 deps = codecov passenv = CODECOV_TOKEN commands = codecov