Skip to content

Commit

Permalink
Merge pull request #24 from DILCISBoard/feat/github-actions
Browse files Browse the repository at this point in the history
FEAT: GitHub build
  • Loading branch information
carlwilson committed Jun 28, 2023
2 parents 8ee9ea8 + 4c0ceaf commit 383ba74
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: PR Quality Assurance

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
build:
name: Checkout and Build
runs-on: ubuntu-20.04

strategy:
matrix:
java-version: [8, 11, 17]

steps:
- uses: actions/checkout@v3
- name: JDK setup
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn --batch-mode --update-snapshots install
- name: Test with Maven
if: (matrix.java-version == 8)
run: mvn --batch-mode verify -DjacocoAgg

0 comments on commit 383ba74

Please sign in to comment.