Skip to content

Commit

Permalink
Added Github actions workflow for testing the library
Browse files Browse the repository at this point in the history
  • Loading branch information
yoep committed Dec 21, 2023
1 parent 150d95d commit 37d8275
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
inputs: {}

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 17
cache: 'maven'
- name: Maven test
run: |
mvn -B test

0 comments on commit 37d8275

Please sign in to comment.