Skip to content

Commit

Permalink
Merge pull request #143 from avianlabs/guillermo/test-reports
Browse files Browse the repository at this point in the history
workflow test reports
  • Loading branch information
wiyarmir authored Oct 15, 2024
2 parents 17c867b + 66d3728 commit f5e976d
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- main

permissions:
actions: write
pull-requests: write
deployments: write
checks: write
Expand Down Expand Up @@ -77,14 +78,8 @@ jobs:
- name: Build packages
run: ./gradlew -PsignPublications=false publishToMavenLocal

- name: Bundle the failed build report
if: failure()
run: find ./build -type d -name 'reports' | zip -@ -r build-reports.zip

- name: Upload the failed build report
if: failure()
uses: actions/upload-artifact@v4
- name: Publish Test Report
uses: turing85/publish-report@v2
if: always()
with:
name: error-report
path: build-reports.zip
retention-days: 7
report-path: '**/test-results/**/*.xml'

0 comments on commit f5e976d

Please sign in to comment.