mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Added github action to test on each push
On each push the mvn test will run on Ubuntu 18.04, latest OSX and latest Windows using JDK 8, 11 and 15
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
---
|
||||
name: Java CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-18.04, macOS-latest, windows-latest]
|
||||
java: [8, 11, 15]
|
||||
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
|
||||
|
||||
...
|
||||
Reference in New Issue
Block a user