Skip to content

Commit

Permalink
GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
renatoathaydes committed Apr 24, 2024
1 parent 7f022f4 commit d458877
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build And Test on All OSs
on: [ push, pull_request ]
jobs:
gradle:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
java: [ 11, 17 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
- uses: eskatos/gradle-command-action@v1
with:
arguments: check
- name: Publish Test Report
if: ${{ always() }}
uses: mikepenz/action-junit-report@v2
with:
report_paths: '**/build/test-results/test/TEST-*.xml'

0 comments on commit d458877

Please sign in to comment.