Skip to content

Commit

Permalink
Add PR check using GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
peterix committed Oct 26, 2022
1 parent 3c773a7 commit 0c9c87e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: pr-check

on:
pull_request:
branches: [ master ]

jobs:
build:
name: Build and test
runs-on: ubuntu-latest
container:
image: adoptopenjdk/openjdk8:latest

steps:
- uses: actions/checkout@v3
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build test
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: '**/build/test-results/test/TEST-*.xml'

0 comments on commit 0c9c87e

Please sign in to comment.