From 0c9c87e4e6b0f0d7c0506645e058330cfffddd1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 24 Oct 2022 14:22:18 +0200 Subject: [PATCH] Add PR check using GitHub Actions --- .github/workflows/pr-check.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/pr-check.yml diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml new file mode 100644 index 0000000..2ef490b --- /dev/null +++ b/.github/workflows/pr-check.yml @@ -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'