Install compactible version of JAVA for selenium in ci

pull/9/head
ioedeveloper 4 years ago
parent 5e7acbcc98
commit 90bf694404
  1. 10
      .circleci/config.yml

@ -23,9 +23,17 @@ jobs:
parallelism: 20 parallelism: 20
steps: steps:
- checkout - checkout
- run: java -version
- run: npm install - run: npm install
- run: npm run lint && npm run test && npm run make-mock-compiler - 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: - run:
name: Download Selenium name: Download Selenium
command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide/seleniumConfig.js command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide/seleniumConfig.js

Loading…
Cancel
Save