Skip to content

Commit

Permalink
Scale down cypress workflow (streamlit#7515)
Browse files Browse the repository at this point in the history
* Scale down cypress workflow

* Scale down to 16 workers
  • Loading branch information
lukasmasuch authored Oct 6, 2023
1 parent 409918f commit 68d1bdf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- "develop"
- "feature/**"
pull_request:
types: [opened, synchronize, reopened]
# Allows workflow to be called from other workflows
Expand Down Expand Up @@ -34,7 +33,7 @@ jobs:
# Be aware that specs should be sequential integers starting from 1 without gaps
# based on logic in "Cypress Tests" step.
# prettier-ignore
specs: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 ]
specs: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ]

steps:
- name: Checkout Streamlit code
Expand Down Expand Up @@ -76,7 +75,7 @@ jobs:
env:
CURRENT_RUN: ${{matrix.specs}}
CYPRESS_VERIFY_TIMEOUT: 90000
TOTAL_WORKERS: 22
TOTAL_WORKERS: 16
run: |
js_specs=(e2e/specs/*)
Expand Down

0 comments on commit 68d1bdf

Please sign in to comment.