mirror of https://github.com/apache/superset.git
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
parent
a6cedaaa87
commit
8ae92b50ad
|
@ -17,6 +17,7 @@
|
||||||
# isort:skip_file
|
# isort:skip_file
|
||||||
from typing import Any, Dict, NamedTuple, List, Tuple, Union
|
from typing import Any, Dict, NamedTuple, List, Tuple, Union
|
||||||
|
|
||||||
|
import tests.test_app
|
||||||
from superset.connectors.sqla.models import SqlaTable, TableColumn
|
from superset.connectors.sqla.models import SqlaTable, TableColumn
|
||||||
from superset.db_engine_specs.druid import DruidEngineSpec
|
from superset.db_engine_specs.druid import DruidEngineSpec
|
||||||
from superset.models.core import Database
|
from superset.models.core import Database
|
||||||
|
|
31
tox.ini
31
tox.ini
|
@ -33,14 +33,6 @@ setenv =
|
||||||
whitelist_externals =
|
whitelist_externals =
|
||||||
npm
|
npm
|
||||||
|
|
||||||
[testenv:thumbnails]
|
|
||||||
setenv =
|
|
||||||
SUPERSET_CONFIG = tests.superset_test_config_thumbnails
|
|
||||||
deps =
|
|
||||||
-rrequirements.txt
|
|
||||||
-rrequirements-dev.txt
|
|
||||||
.[postgres]
|
|
||||||
|
|
||||||
[testenv:black]
|
[testenv:black]
|
||||||
commands =
|
commands =
|
||||||
black --check setup.py superset tests
|
black --check setup.py superset tests
|
||||||
|
@ -99,6 +91,14 @@ setenv =
|
||||||
SUPERSET_CONFIG = tests.superset_test_config_sqllab_backend_persist
|
SUPERSET_CONFIG = tests.superset_test_config_sqllab_backend_persist
|
||||||
SUPERSET_HOME = {envtmpdir}
|
SUPERSET_HOME = {envtmpdir}
|
||||||
|
|
||||||
|
[testenv:docs]
|
||||||
|
commands =
|
||||||
|
sphinx-build -b html docs _build/html -W
|
||||||
|
deps =
|
||||||
|
-rrequirements.txt
|
||||||
|
-rrequirements-dev.txt
|
||||||
|
-rdocs/requirements.txt
|
||||||
|
|
||||||
[testenv:eslint]
|
[testenv:eslint]
|
||||||
changedir = {toxinidir}/superset-frontend
|
changedir = {toxinidir}/superset-frontend
|
||||||
commands =
|
commands =
|
||||||
|
@ -156,28 +156,27 @@ deps =
|
||||||
-rrequirements.txt
|
-rrequirements.txt
|
||||||
-rrequirements-dev.txt
|
-rrequirements-dev.txt
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:thumbnails]
|
||||||
commands =
|
setenv =
|
||||||
cp -r superset-frontend/images/ docs/_static/images/
|
SUPERSET_CONFIG = tests.superset_test_config_thumbnails
|
||||||
sphinx-build -b html docs _build/html -W
|
|
||||||
deps =
|
deps =
|
||||||
-rrequirements.txt
|
-rrequirements.txt
|
||||||
-rrequirements-dev.txt
|
-rrequirements-dev.txt
|
||||||
-rdocs/requirements.txt
|
.[postgres]
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
fossa
|
|
||||||
black
|
black
|
||||||
cypress-dashboard
|
cypress-dashboard
|
||||||
cypress-explore
|
cypress-explore
|
||||||
cypress-sqllab
|
cypress-sqllab
|
||||||
cypress-sqllab-backend-persist
|
cypress-sqllab-backend-persist
|
||||||
|
docs
|
||||||
eslint
|
eslint
|
||||||
|
fossa
|
||||||
isort
|
isort
|
||||||
javascript
|
javascript
|
||||||
|
license-check
|
||||||
mypy
|
mypy
|
||||||
pylint
|
pylint
|
||||||
license-check
|
|
||||||
docs
|
|
||||||
skipsdist = true
|
skipsdist = true
|
||||||
|
|
Loading…
Reference in New Issue