forked from Avaiga/taipy-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
57 lines (51 loc) · 1.06 KB
/
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
50
51
52
53
54
55
56
57
[tox]
skipsdist = true
isolated_build = true
envlist = clean, lint, without-pyodbc-pymysql-psycopg2-fastparquet
[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-pymysql-psycopg2-fastparquet]
commands =
pipenv install --dev
pytest tests
[testenv:all-tests]
commands =
pipenv install --dev
pip install pyodbc
pip install pymysql
pip install psycopg2
pip install fastparquet
pytest tests
[testenv:coverage]
platform = linux
deps =
pipenv==2023.7.23
coverage
commands =
coverage erase
pipenv install --dev
pipenv install pyodbc
pipenv install pymysql
pipenv install psycopg2
pipenv install fastparquet
pytest -s --cov=src --cov-append --cov-report=xml --cov-report term-missing tests
coverage report
coverage html