This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 52285ae build: tox leveraging conditional factors (#9828)
52285ae is described below
commit 52285aeb04ccad1611f88afdec92080ae04bdc0e
Author: John Bodley <[email protected]>
AuthorDate: Mon May 18 07:37:25 2020 -0700
build: tox leveraging conditional factors (#9828)
---
tox.ini | 20 +++++---------------
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/tox.ini b/tox.ini
index ccc39eb..94c86e2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -23,13 +23,15 @@ commands =
deps =
-rrequirements.txt
-rrequirements-dev.txt
+ mysql: .[mysql]
+ postgres: .[postgres]
setenv =
PYTHONPATH = {toxinidir}
SUPERSET_CONFIG = tests.superset_test_config
SUPERSET_HOME = {envtmpdir}
- py36-mysql: SUPERSET__SQLALCHEMY_DATABASE_URI =
mysql://mysqluser:mysqluserpassword@localhost/superset?charset=utf8
- py36-postgres: SUPERSET__SQLALCHEMY_DATABASE_URI =
postgresql+psycopg2://superset:superset@localhost/test
- py36-sqlite: SUPERSET__SQLALCHEMY_DATABASE_URI =
sqlite:////{envtmpdir}/superset.db
+ mysql: SUPERSET__SQLALCHEMY_DATABASE_URI =
mysql://mysqluser:mysqluserpassword@localhost/superset?charset=utf8
+ postgres: SUPERSET__SQLALCHEMY_DATABASE_URI =
postgresql+psycopg2://superset:superset@localhost/test
+ sqlite: SUPERSET__SQLALCHEMY_DATABASE_URI =
sqlite:////{envtmpdir}/superset.db
whitelist_externals =
npm
@@ -137,18 +139,6 @@ commands =
deps =
-rrequirements-dev.txt
-[testenv:py36-mysql]
-deps =
- -rrequirements.txt
- -rrequirements-dev.txt
- .[mysql]
-
-[testenv:py36-postgres]
-deps =
- -rrequirements.txt
- -rrequirements-dev.txt
- .[postgres]
-
[testenv:pylint]
commands =
pylint superset