-
Notifications
You must be signed in to change notification settings - Fork 5
26 lines (23 loc) · 997 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Java-CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Install Chrome
run: sudo apt install google-chrome-stable
- name: Install Chromedriver
run: |
mkdir github-bin
wget https://github.com/mozilla/geckodriver/releases/download/v0.34.0/geckodriver-v0.35.0-linux-aarch64.tar.gz -O $PWD/github-bin/geckodriver-v0.35.0-linux64.tar.gz
wget https://storage.googleapis.com/chrome-for-testing-public/128.0.6613.86/linux64/chromedriver-linux64.zip -O $PWD/github-bin/chromedriver_linux64.zip
tar -xvf $PWD/github-bin/geckodriver-v0.35.0-linux64.tar.gz -C $PWD/github-bin
unzip $PWD/github-bin/chromedriver_linux64.zip -d $PWD/github-bin
export PATH=$PWD/github-bin:$PATH
- name: Test with Maven
run: mvn clean verify