-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d32f635
commit 741c06f
Showing
5 changed files
with
43 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
{ | ||
"baseUrl": "http://localhost:8081", | ||
"videoUploadOnPasses": false, | ||
"video": false, | ||
"ignoreTestFiles": ["**/!(*.test.js)"], | ||
"projectId": "fbf96q", | ||
"defaultCommandTimeout": 10000, | ||
"viewportWidth": 1280, | ||
"viewportHeight": 800 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
<<<<<<< HEAD | ||
superset/bin/superset db upgrade | ||
superset/bin/superset load_test_users | ||
superset/bin/superset load_examples | ||
superset/bin/superset init | ||
flask run -p 8081 --with-threads --reload --debugger & | ||
|
||
======= | ||
>>>>>>> split into three | ||
cd "$(dirname "$0")" | ||
|
||
yarn install --frozen-lockfile & superset/bin/superset db upgrade | ||
superset/bin/superset load_test_users & superset/bin/superset load_examples | ||
superset/bin/superset init | ||
npm run build & flask run -p 8081 --with-threads --reload --debugger & | ||
#run all the python steps in a background process | ||
(time /home/travis/build/apache/incubator-superset/superset/bin/superset db upgrade; time /home/travis/build/apache/incubator-superset/superset/bin/superset load_test_users; /home/travis/build/apache/incubator-superset/superset/bin/superset load_examples; time /home/travis/build/apache/incubator-superset/superset/bin/superset init; echo "[completed python build steps]"; flask run -p 8081 --with-threads --reload --debugger) & | ||
|
||
#block on the longer running javascript process | ||
(time yarn install --frozen-lockfile; time npm run build; echo "[completed js build steps]") | ||
|
||
CYPRESS_PATH='cypress/integration/'${1}'/*' | ||
time npm run cypress run -- --spec "$CYPRESS_PATH" --record false --config video=false | ||
|
||
npm run cypress run -- --spec 'cypress/integration/explore/*' & npm run cypress run -- --spec 'cypress/integration/dashboard/*' & npm run cypress run -- --spec 'cypress/integration/explore/*' | ||
kill %1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters