From 54e8a51b86b0f027a8eb12329c2433ce741f10d8 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Wed, 4 May 2022 10:53:13 +0200 Subject: [PATCH] << parameters.run_flaky_parallelism >> --- .circleci/config.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7ee9b751eb..a4399961ff 100644 --- a/.circleci/config.yml +++ b/.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