<< parameters.run_flaky_parallelism >>

pull/2356/head
filip mertens 3 years ago
parent a98c85822a
commit 842fd5eb7d
  1. 19
      .circleci/config.yml

@ -7,6 +7,9 @@ parameters:
run_flaky_tests:
type: boolean
default: true
run_flaky_parallelism:
type: integer
default: 40
orbs:
browser-tools: circleci/browser-tools@1.2.3
jobs:
@ -100,8 +103,8 @@ jobs:
- run: npm i
- run: cd dist/libs/remix-tests && npm install
- run: npm run test:libs
flaky-chrome:
remix-ide-chrome:
docker:
# specify the version you desire here
- image: cimg/node:14.17.6-browsers
@ -138,13 +141,13 @@ jobs:
name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar
background: true
- run: ./apps/remix-ide/ci/flaky.sh chrome
- run: ./apps/remix-ide/ci/browser_test.sh chrome
- store_test_results:
path: ./reports/tests
- store_artifacts:
path: ./reports/screenshots
remix-ide-chrome:
flaky-chrome:
docker:
# specify the version you desire here
- image: cimg/node:14.17.6-browsers
@ -159,7 +162,7 @@ jobs:
- COMMIT_AUTHOR: "Circle CI"
working_directory: ~/remix-project
parallelism: 80
parallelism: << parameters.run_flaky_parallelism >>
steps:
- browser-tools/install-chrome
- browser-tools/install-chromedriver
@ -181,7 +184,7 @@ jobs:
name: Start Selenium
command: java -jar /usr/local/bin/selenium.jar
background: true
- run: ./apps/remix-ide/ci/browser_test.sh chrome
- run: ./apps/remix-ide/ci/flaky.sh chrome
- store_test_results:
path: ./reports/tests
- store_artifacts:
@ -244,7 +247,7 @@ jobs:
- COMMIT_AUTHOR: "Circle CI"
working_directory: ~/remix-project
parallelism: 80
parallelism: << parameters.run_flaky_parallelism >>
steps:
- browser-tools/install-firefox
- browser-tools/install-geckodriver

Loading…
Cancel
Save