Skip to content

Commit

Permalink
Added GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed Feb 2, 2021
1 parent bf59c07 commit 810739f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: maven

on:
push:
branches: [ master ]

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
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- run: mvn -B package --file pom.xml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
JPMML-H2O
JPMML-H2O [![Build Status](https://github.com/jpmml/jpmml-h2o/workflows/maven/badge.svg)](https://github.com/jpmml/jpmml-h2o/actions?query=workflow%3A%22maven%22)
=========

Java library and command-line application for converting [H2O.ai](https://www.h2o.ai/) models to PMML.
Expand Down

0 comments on commit 810739f

Please sign in to comment.