Skip to content

Commit

Permalink
fix structure
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Mar 21, 2024
1 parent dcc2683 commit 5c5dc0e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 38 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/superset-applitools-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ jobs:
with:
node-version: ${{ matrix.node }}
- name: Install eyes-storybook dependencies
with:
run: eyes-storybook-dependencies
run: eyes-storybook-dependencies
- name: Install NPM dependencies
with:
run: npm-install
run: npm-install
- name: Run Applitools Eyes-Storybook
working-directory: ./superset-frontend
run: npx eyes-storybook -u https://superset-storybook.netlify.app/
21 changes: 7 additions & 14 deletions .github/workflows/superset-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,42 +69,35 @@ jobs:
run: ./scripts/ci_check_no_file_changes.sh python frontend
- name: OS dependencies
if: steps.check.outcome == 'failure'
with:
run: apt-get-install
run: apt-get-install
- name: Setup Python
uses: ./.github/actions/setup-backend/
if: steps.check.outcome == 'failure'
- name: Setup postgres
if: steps.check.outcome == 'failure'
with:
run: setup-postgres
run: setup-postgres
- name: Import test data
if: steps.check.outcome == 'failure'
with:
run: testdata
run: testdata
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "16"
- name: Install npm dependencies
if: steps.check.outcome == 'failure'
with:
run: npm-install
run: npm-install
- name: Build javascript packages
if: steps.check.outcome == 'failure'
with:
run: build-instrumented-assets
run: build-instrumented-assets
- name: Install cypress
if: steps.check.outcome == 'failure'
with:
run: cypress-install
run: cypress-install
- name: Run Cypress
if: steps.check.outcome == 'failure'
env:
CYPRESS_BROWSER: ${{ matrix.browser }}
CYPRESS_KEY: YjljODE2MzAtODcwOC00NTA3LWE4NmMtMTU3YmFmMjIzOTRhCg==
with:
run: cypress-run-all
run: cypress-run-all
- name: Upload Artifacts
uses: actions/upload-artifact@v4
if: failure()
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/superset-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ jobs:
node-version: "16"
- name: Install dependencies
if: steps.check.outcome == 'failure'
with:
run: npm-install
run: npm-install
- name: eslint
if: steps.check.outcome == 'failure'
working-directory: ./superset-frontend
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/superset-python-integrationtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Setup MySQL
if: steps.check.outcome == 'failure'
with:
run: |
setup-mysql
run: |
setup-mysql
- name: Run celery
if: steps.check.outcome == 'failure'
run: celery --app=superset.tasks.celery_app:app worker -Ofair -c 2 &
Expand Down Expand Up @@ -115,9 +114,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Setup Postgres
if: steps.check.outcome == 'failure'
with:
run: |
setup-postgres
run: |
setup-postgres
- name: Run celery
if: steps.check.outcome == 'failure'
run: celery --app=superset.tasks.celery_app:app worker -Ofair -c 2 &
Expand Down Expand Up @@ -168,10 +166,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
if: steps.check.outcome == 'failure'
with:
run: |
# sqlite needs this working directory
mkdir ${{ github.workspace }}/.temp
run: |
# sqlite needs this working directory
mkdir ${{ github.workspace }}/.temp
- name: Run celery
if: steps.check.outcome == 'failure'
run: celery --app=superset.tasks.celery_app:app worker -Ofair -c 2 &
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/superset-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ jobs:
with:
node-version: "16"
- name: Install dependencies
with:
run: npm-install
run: npm-install
- name: lint
working-directory: ./superset-frontend
run: |
Expand All @@ -49,11 +48,5 @@ jobs:
uses: ./.github/actions/setup-backend/
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
with:
run: |
apt-get-install
pip-upgrade
pip install -r requirements/base.txt
- name: Test babel extraction
run: ./scripts/babel_update.sh

0 comments on commit 5c5dc0e

Please sign in to comment.