Compare commits

...

2 commits

Author SHA1 Message Date
Petr Mrázek
3e7208bf47 Add test report 2022-10-24 18:22:19 +02:00
Petr Mrázek
43ed8a0524 Build PRs using github actions 2022-10-24 16:36:34 +02:00

26
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: pr-check
on:
push:
pull_request:
branches: [ master ]
workflow_dispatch:
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'