Skip to content

Commit

Permalink
Merge pull request #137 from camunda-cloud/publish-test-report
Browse files Browse the repository at this point in the history
Publish test report upon failure in deploy workflow
  • Loading branch information
remcowesterhoud authored Jan 12, 2022
2 parents 8a897f2 + 4909154 commit 1954fc7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deploy-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,18 @@ jobs:
asset_path: ${{ steps.release.outputs.artifacts_archive_path }}
asset_name: ${{ steps.release.outputs.artifacts_archive_path }}
asset_content_type: application/zip

- name: Archive Test Results on Failure
uses: actions/upload-artifact@v2
if: failure()
with:
name: test-results
path: target/surefire-reports/
retention-days: 7

- name: Publish Unit Test Results
id: publish
uses: EnricoMi/publish-unit-test-result-action@v1.25
if: failure()
with:
files: target/surefire-reports/*.xml

0 comments on commit 1954fc7

Please sign in to comment.