Skip to content

Commit

Permalink
Merge pull request #14 from burnoo/add-test-teport-action
Browse files Browse the repository at this point in the history
[skip ci] Add test-report.yml GitHub action
  • Loading branch information
burnoo committed Aug 5, 2024
2 parents 3f43c02 + 0d4c812 commit bead24a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ jobs:
run: ./gradlew :compose-remember-setting:desktopTest

- name: Store reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: reports
path: |
**/build/reports/
**/build/test-results/
name: test-results
path: compose-remember-setting/build/test-results/desktopTest/*.xml
22 changes: 22 additions & 0 deletions .github/workflows/test-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Test Report'
on:
workflow_run:
workflows: ['Check PR']
types:
- completed

permissions:
contents: read
actions: read
checks: write

jobs:
report:
runs-on: ubuntu-latest
steps:
- uses: dorny/test-reporter@v1
with:
artifact: test-results
name: Desktop Tests
path: '*.xml'
reporter: java-junit

0 comments on commit bead24a

Please sign in to comment.