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
|
||||
from typing import Any, Dict, NamedTuple, List, Tuple, Union
|
||||
|
||||
import tests.test_app
|
||||
from superset.connectors.sqla.models import SqlaTable, TableColumn
|
||||
from superset.db_engine_specs.druid import DruidEngineSpec
|
||||
from superset.models.core import Database
|
||||
|
|
31
tox.ini
31
tox.ini
|
@ -33,14 +33,6 @@ setenv =
|
|||
whitelist_externals =
|
||||
npm
|
||||
|
||||
[testenv:thumbnails]
|
||||
setenv =
|
||||
SUPERSET_CONFIG = tests.superset_test_config_thumbnails
|
||||
deps =
|
||||
-rrequirements.txt
|
||||
-rrequirements-dev.txt
|
||||
.[postgres]
|
||||
|
||||
[testenv:black]
|
||||
commands =
|
||||
black --check setup.py superset tests
|
||||
|
@ -99,6 +91,14 @@ setenv =
|
|||
SUPERSET_CONFIG = tests.superset_test_config_sqllab_backend_persist
|
||||
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]
|
||||
changedir = {toxinidir}/superset-frontend
|
||||
commands =
|
||||
|
@ -156,28 +156,27 @@ deps =
|
|||
-rrequirements.txt
|
||||
-rrequirements-dev.txt
|
||||
|
||||
[testenv:docs]
|
||||
commands =
|
||||
cp -r superset-frontend/images/ docs/_static/images/
|
||||
sphinx-build -b html docs _build/html -W
|
||||
[testenv:thumbnails]
|
||||
setenv =
|
||||
SUPERSET_CONFIG = tests.superset_test_config_thumbnails
|
||||
deps =
|
||||
-rrequirements.txt
|
||||
-rrequirements-dev.txt
|
||||
-rdocs/requirements.txt
|
||||
.[postgres]
|
||||
|
||||
[tox]
|
||||
envlist =
|
||||
fossa
|
||||
black
|
||||
cypress-dashboard
|
||||
cypress-explore
|
||||
cypress-sqllab
|
||||
cypress-sqllab-backend-persist
|
||||
docs
|
||||
eslint
|
||||
fossa
|
||||
isort
|
||||
javascript
|
||||
license-check
|
||||
mypy
|
||||
pylint
|
||||
license-check
|
||||
docs
|
||||
skipsdist = true
|
||||
|
|
Loading…
Reference in New Issue