You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2020/05/17 20:31:32 UTC

[incubator-superset] branch john-bodley--update-tox created (now 1abf161)

This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a change to branch john-bodley--update-tox
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.


      at 1abf161  build: tox leveraging conditional factors

This branch includes the following new commits:

     new 1abf161  build: tox leveraging conditional factors

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-superset] 01/01: build: tox leveraging conditional factors

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch john-bodley--update-tox
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 1abf161f0c9cd4e60ef33060af3a2ed5f5ba8e29
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Sun May 17 13:31:17 2020 -0700

    build: tox leveraging conditional factors
---
 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