From 4149ab4e5e989e145a1ecf72f5a455e58ba3cc16 Mon Sep 17 00:00:00 2001 From: Jesse Yang Date: Tue, 5 Jan 2021 15:46:52 -0800 Subject: [PATCH] build: remove parallelization for E2E tests (#12290) --- .github/workflows/superset-e2e.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/superset-e2e.yml b/.github/workflows/superset-e2e.yml index 4208f8cbd..7aaea293b 100644 --- a/.github/workflows/superset-e2e.yml +++ b/.github/workflows/superset-e2e.yml @@ -3,16 +3,10 @@ name: E2E on: [push, pull_request] jobs: - cypress-matrix: + Cypress: runs-on: ubuntu-18.04 strategy: - # when one test fails, DO NOT cancel the other - # containers, because this will kill Cypress processes - # leaving the Dashboard hanging ... - # https://github.com/cypress-io/github-action/issues/48 - fail-fast: false matrix: - containers: [1, 2, 3] browser: ["chrome"] env: FLASK_ENV: development @@ -42,7 +36,7 @@ jobs: if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' uses: actions/checkout@v2 with: - ref: 'refs/pull/${{ github.event.number }}/merge' + ref: "refs/pull/${{ github.event.number }}/merge" - name: Setup Python uses: actions/setup-python@v2 with: @@ -96,12 +90,3 @@ jobs: with: name: screenshots path: ${{ github.workspace }}/superset-frontend/cypress-base/cypress/screenshots - Cypress: - if: ${{ always() }} - name: Cypress (chrome) - runs-on: ubuntu-18.04 - needs: cypress-matrix - steps: - - name: Check build matrix status - if: ${{ needs.cypress-matrix.result != 'success' }} - run: exit 1