24 lines
496 B
YAML
24 lines
496 B
YAML
name: Java CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-18.04]
|
|
java: [8, 8.0.192, 11, 11.0.9]
|
|
fail-fast: false
|
|
max-parallel: 2
|
|
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up JDK
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: ${{ matrix.java }}
|
|
- name: Test with Maven
|
|
run: mvn test -B --file pom.xml
|