Skip to content

Commit bda22df

Browse files
committed
Fix test reports
1 parent 54479db commit bda22df

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/actions/mill-android-test/action.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,4 @@ runs:
1313
./mill --debug show ${{ inputs.app-name }}.app.startAndroidEmulator
1414
./mill show ${{ inputs.app-name }}.app.androidTest
1515
./mill show ${{ inputs.app-name }}.app.stopAndroidEmulator
16-
shell: bash
17-
18-
- name: Upload test reports
19-
uses: actions/upload-artifact@v4
20-
with:
21-
name: test-reports-jetnews
22-
path: out/${{ inputs.app-name }}/app/androidTest/testForked.dest/test-report.xml
16+
shell: bash

.github/workflows/Test.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,15 @@ jobs:
2323
- uses: ./.github/actions/mill-android-test
2424
with:
2525
app-name: Jetsnack
26+
- name: Publish Test Report
27+
uses: mikepenz/action-junit-report@v5
28+
if: (!cancelled())
29+
with:
30+
fail_on_failure: false
31+
include_passed: false
32+
detailed_summary: true
33+
annotate_only: true
34+
require_tests: false
35+
report_paths: 'out/**/test-report.xml'
2636

2737

0 commit comments

Comments
 (0)