Skip to content

Commit

Permalink
Try to run with java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Medvedev committed Dec 15, 2023
1 parent a9a43a3 commit c82c481
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,17 @@ jobs:
- name: Install timeout util and java
run: |
brew install coreutils
brew search java
brew install java11
java -version
ls -la /opt/homebrew/Cellar/
- name: Download Selenium Server
run: |
wget https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.16.0/selenium-server-4.16.1.jar -O selenium-server.jar
- name: Setup hub
run: java -jar selenium-server.jar hub > selenium-hub.log 2>&1 &
run: /usr/local/opt/openjdk@11/bin/java -jar selenium-server.jar hub > selenium-hub.log 2>&1 &

- name: Setup node
run: java -jar selenium-server.jar node -I "safari" > selenium-node.log 2>&1 &
run: /usr/local/opt/openjdk@11/bin/java -jar selenium-server.jar node -I "safari" > selenium-node.log 2>&1 &


- name: Run tests for macos
Expand Down

0 comments on commit c82c481

Please sign in to comment.