brigadier/.github/workflows/pr-check.yml

23 lines
509 B
YAML
Raw Normal View History

2022-10-24 08:22:18 -04:00
name: pr-check
2022-10-26 11:12:10 -04:00
on: [ pull_request ]
2022-10-24 08:22:18 -04:00
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'