blob: 9cc1b6d2a85d7ea6dcee92c2424fb7a7f1df876d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
[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
requests
responses
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
|