Skip to content

Commit

Permalink
Merge pull request #10 from StefMa/ci
Browse files Browse the repository at this point in the history
Add GitHub Action for CI
  • Loading branch information
sergejsha authored Jul 16, 2024
2 parents a64375f + 74151e8 commit 3b10e4a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'CI'

on:
pull_request:
push:
branches:
- master

jobs:
UnitTests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup JDK 17
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17'

- name: Run (jvm) unit tests
run: ./gradlew jvmTest

- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
check_name: JVM Unit Test Report
report_paths: 'logger/build/test-results/jvmTest/TEST-*.xml'

0 comments on commit 3b10e4a

Please sign in to comment.