forked from crawljax/crawljax
-
Notifications
You must be signed in to change notification settings - Fork 12
36 lines (33 loc) · 1.04 KB
/
ci.yaml
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
27
28
29
30
31
32
33
34
35
36
name: Java CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- uses: actions/cache@v2
with:
path: |
~/.m2/repository
key: ${{ runner.os }}-gradle-${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-gradle-${{ matrix.java }}-
${{ runner.os }}-gradle-
- run: |
mkdir geckodriver
GECKODRIVER_VER="0.29.0"; wget -qO - https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVER_VER/geckodriver-v$GECKODRIVER_VER-linux64.tar.gz | tar xz -C geckodriver
export PATH=$PATH:$PWD/geckodriver
- run: |
cd core
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true -B -V
mvn test -B -Pintegrationtests -Dtest.browser=FIREFOX