forked from ChaoticOnyx/OnyxForum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (35 loc) · 808 Bytes
/
tox.ini
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
[tox]
skip_missing_interpreters = true
envlist =
py{35,36,37,38},
coverage
[testenv]
use_develop = true
deps =
-r{toxinidir}/requirements-dev.txt
# setup.py has unpinned dependencies by default
!unpinned: -r{toxinidir}/requirements-dev.txt
setenv =
COVERAGE_FILE = tests/.coverage.{envname}
PYTHONDONTWRITEBYTECODE=1
passenv = TOXENV CI CODECOV_* SYSTEM_* AGENT_* BUILD_*
commands =
pytest {toxinidir}/tests {toxinidir}/flaskbb {posargs}
[testenv:coverage]
skip_install = true
deps = coverage
setenv =
COVERAGE_FILE = tests/.coverage
commands =
coverage combine
coverage report
[testenv:coverage-ci]
skip_install = true
deps = codecov
setenv =
COVERAGE_FILE = tests/.coverage
commands =
coverage combine
coverage xml
coverage report
codecov