Skip to content

Commit

Permalink
chore: Modify test report error condition (#10302)
Browse files Browse the repository at this point in the history
chore: modify test report condition
  • Loading branch information
filzrev authored Oct 19, 2024
1 parent a20025d commit 4af7851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
path: 'test/TestResults/*.trx'
reporter: dotnet-trx
fail-on-error: true
fail-on-empty: true
fail-on-empty: false

- name: Output message to job summary
id: output-job-summary
shell: pwsh
if: ${{ !cancelled() }}
if: ${{ !cancelled() && (steps.test-reports.outputs.time != '0') }}
run: |
$conclusion = "${{ steps.test-reports.outputs.conclusion }}"
$passed = "${{ steps.test-reports.outputs.passed }}"
Expand Down

0 comments on commit 4af7851

Please sign in to comment.