forked from python-semantic-release/python-semantic-release
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
29 lines (28 loc) · 631 Bytes
/
tox.ini
File metadata and controls
29 lines (28 loc) · 631 Bytes
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
[tox]
envlist =
flake8,
isort,
mypy,
py3-tests,
coverage
skipsdist = True
[testenv]
basepython = python3
deps =
tests: -r{toxinidir}/requirements/dev.txt
flake8: flake8
isort: isort
mypy: mypy
coverage: coverage
passenv = CI
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
TESTING = True
commands =
tests: coverage run -p --source=semantic_release -m py.test -v tests
py3-tests: coverage combine
flake8: flake8
isort: isort -c -rc semantic_release tests
mypy: mypy --ignore-missing-imports semantic_release
coverage: coverage report
coverage: coverage xml