Skip to content

Commit

Permalink
chore(cypress): rename containers to machines
Browse files Browse the repository at this point in the history
  • Loading branch information
andioneto committed Nov 22, 2021
1 parent 3bea53e commit d503a71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,14 @@ jobs:
needs: build
runs-on: ubuntu-latest
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:
# run copies of the current job in parallel
containers: [1, 2, 3, 4, 5]
# run 3 copies of the current job in parallel, all load-balanced
machines: [1, 2, 3]
steps:
- name: Checkout Repo
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"test:tools": "jest ./tools/ -c ./tools/jest.config.js",
"test:tools-16": "USE_REACT_16=true jest ./tools/ -c ./tools/jest.config.js",
"test:coverage": "yarn pre-test && jest --coverage",
"test:website": "start-server-and-test 'yarn serve:website' http://localhost:9000 'yarn cypress run --record --parallel --spec \"./cypress/integration/**/**/*.spec.ts\"'",
"test:website": "start-server-and-test 'yarn serve:website' http://localhost:9000 'yarn cypress run --record --parallel --group cypress-tests --spec \"./cypress/integration/**/**/*.spec.ts\"'",
"test:website-gui": "start-server-and-test 'yarn serve:website' http://localhost:9000 'yarn cypress open'",
"serve:website": "yarn workspace @twilio-paste/website serve",
"package-size-action-build": "yarn build",
Expand Down

0 comments on commit d503a71

Please sign in to comment.