Skip to content

Commit

Permalink
Tests: Update workflow to enable tests run in parallel (#2739)
Browse files Browse the repository at this point in the history
* Update workflow to enable tests run in parallel

* Update workflow of Safe Apps to run in parallel
  • Loading branch information
mike10ca authored Nov 2, 2023
1 parent 23fe875 commit cb5da93
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ concurrency:
jobs:
e2e:
runs-on: ubuntu-20.04
name: Smoke E2E tests
name: Cypress Smoke tests
strategy:
fail-fast: false
matrix:
containers: [1, 2, 3]
steps:
- uses: actions/checkout@v3

Expand All @@ -30,9 +34,12 @@ jobs:

- uses: cypress-io/github-action@v4
with:
parallel: true
spec: cypress/e2e/smoke/*.cy.js
browser: chrome
record: true
config: baseUrl=http://localhost:8080
group: 'Smoke tests'
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9 changes: 8 additions & 1 deletion .github/workflows/safe-apps-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ concurrency:
jobs:
e2e:
runs-on: ubuntu-latest
name: Safe Apps E2E tests
name: Cypress Safe Apps tests
strategy:
fail-fast: false
matrix:
containers: [1, 2, 3]
steps:
- uses: actions/checkout@v3

Expand All @@ -31,10 +35,13 @@ jobs:

- uses: cypress-io/github-action@v4
with:
parallel: true
spec: cypress/e2e/safe-apps/*.cy.js
browser: chrome
record: true
config: baseUrl=http://localhost:8080
group: 'Safe Apps tests'
env:
CYPRESS_PROJECT_ID: okn21k
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_SAFE_APPS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cb5da93

Please sign in to comment.