Skip to content

Commit

Permalink
Publish test reports
Browse files Browse the repository at this point in the history
  • Loading branch information
StefMa committed Sep 10, 2023
1 parent c311117 commit e65faf8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:
- name: Run tests
run: ./gradlew jvmTest

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

test-linux:
runs-on: ubuntu-latest
steps:
Expand All @@ -28,6 +35,13 @@ jobs:
- name: Run tests
run: ./gradlew nativeTest

- name: Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
check_name: 'Linux Test Reports'
report_paths: '**/build/test-results/nativeTest/TEST-*.xml'

test-darwin:
runs-on: macos-latest
steps:
Expand All @@ -37,6 +51,13 @@ jobs:
- name: Run tests
run: ./gradlew nativeTest

- name: Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
check_name: 'Darwin Test Reports'
report_paths: '**/build/test-results/nativeTest/TEST-*.xml'

test-mingw:
runs-on: windows-latest
steps:
Expand All @@ -45,3 +66,10 @@ jobs:

- name: Run tests
run: ./gradlew nativeTest

- name: Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
check_name: 'Mingw Test Reports'
report_paths: '**/build/test-results/nativeTest/TEST-*.xml'

0 comments on commit e65faf8

Please sign in to comment.