build: remove parallelization for E2E tests (#12290)

This commit is contained in:
Jesse Yang 2021-01-05 15:46:52 -08:00 committed by GitHub
parent 66349d86a4
commit 4149ab4e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 17 deletions

View File

@ -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