mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
chore: Migrating reports to AuthWebdriverProxy (#10567)
* Migrating reports to AuthWebdriverProxy * Extracting out webdriver proxy / Adding thumbnail tests to CI * Adding license * Adding license again * Empty commit * Adding thumbnail tests to CI * Switching thumbnail test to Postgres * Linting * Adding mypy:ignore / removing thumbnail tests from CI * Putting ignore statement back * Updating docs * First cut at authprovider * First cut at authprovider mostly working - still needs more tests * Auth provider tests added * Linting * Linting again... * Linting again... * Busting CI cache * Reverting workflow change * Fixing dataclasses * Reverting back to master * linting? * Reverting installation.rst * Reverting package-lock.json * Addressing feedback * Blacking * Lazy logging strings * UPDATING.md note
This commit is contained in:
@@ -26,8 +26,8 @@ function reset_db() {
|
||||
echo --------------------
|
||||
echo Reseting test DB
|
||||
echo --------------------
|
||||
docker-compose stop superset-tests-worker
|
||||
RESET_DB_CMD="psql \"postgresql://superset:superset@127.0.0.1:5432\" <<-EOF
|
||||
docker-compose stop superset-tests-worker superset || true
|
||||
RESET_DB_CMD="psql \"postgresql://${DB_USER}:${DB_PASSWORD}@127.0.0.1:5432\" <<-EOF
|
||||
DROP DATABASE IF EXISTS ${DB_NAME};
|
||||
CREATE DATABASE ${DB_NAME};
|
||||
\\c ${DB_NAME}
|
||||
@@ -53,10 +53,6 @@ function test_init() {
|
||||
echo Superset init
|
||||
echo --------------------
|
||||
superset init
|
||||
echo --------------------
|
||||
echo Load examples
|
||||
echo --------------------
|
||||
pytest -s tests/load_examples_test.py
|
||||
}
|
||||
|
||||
#
|
||||
@@ -142,5 +138,5 @@ fi
|
||||
|
||||
if [ $RUN_TESTS -eq 1 ]
|
||||
then
|
||||
pytest -x -s --ignore=load_examples_test "${TEST_MODULE}"
|
||||
pytest -x -s "${TEST_MODULE}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user