From 90bf6944047b7f656966697c2c70c28185de390e Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Mon, 6 Jul 2020 09:58:51 +0100 Subject: [PATCH] Install compactible version of JAVA for selenium in ci --- .circleci/config.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 563d0823d1..0a2810f140 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,9 +23,17 @@ jobs: parallelism: 20 steps: - checkout - - run: java -version - run: npm install - run: npm run lint && npm run test && npm run make-mock-compiler + - run: + name: Download Compatible JAVA Version for Selenium + command: | + java -version + apt-get purge --auto-remove java-common + add-apt-repository ppa:openjdk-r/ppa + apt-get update + apt-get install openjdk-8-jdk + java -version - run: name: Download Selenium command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide/seleniumConfig.js