mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
Create main.yml
This commit is contained in:
parent
c42f95980a
commit
5bbf6d77ee
1 changed files with 43 additions and 0 deletions
43
.github/workflows/main.yml
vendored
Normal file
43
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
name: Java CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-18.04, macOS-latest, windows-2016]
|
||||||
|
java: [1.8, 8.0.192, 9, 10, 11, 11.0.3, 12, 13, 13.0.4, 14, 15-ea, 16-ea]
|
||||||
|
fail-fast: false
|
||||||
|
max-parallel: 4
|
||||||
|
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
|
||||||
|
|
||||||
|
test-zing:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-18.04]
|
||||||
|
java: [8.0.252, 8, 11.0.7, 11]
|
||||||
|
fail-fast: false
|
||||||
|
max-parallel: 5
|
||||||
|
name: Test Zing JDK ${{ matrix.java }}, ${{ matrix.os }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Set up JDK
|
||||||
|
uses: zing-actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: ${{ matrix.java }}
|
||||||
|
- name: Test with Maven
|
||||||
|
run: mvn test -B --file pom.xml
|
||||||
|
|
Loading…
Reference in a new issue