forked from Avaiga/taipy-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (43 loc) · 802 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
39
40
41
42
43
44
45
46
47
48
49
[tox]
skipsdist = true
isolated_build = true
envlist = clean, lint, without-pyodbc
[pytest]
filterwarnings =
ignore::DeprecationWarning
[testenv]
allowlist_externals = pytest
deps = pipenv==2023.7.23
[testenv:lint]
platform = linux
allowlist_externals =
isort
black
flake8
deps =
isort
black
flake8
commands =
isort taipy
black taipy tests
flake8 taipy tests
[testenv:without-pyodbc]
commands =
pipenv install --dev
pytest tests
[testenv:all-tests]
commands =
pipenv install --dev
pytest tests
[testenv:coverage]
platform = linux
deps =
pipenv
coverage
commands =
coverage erase
pipenv install --dev
pytest -s --cov=src --cov-append --cov-report=xml --cov-report term-missing tests
coverage report
coverage html