Skip to content

Commit 90fa2da

Browse files
committed
Change final report step condition
1 parent ed7a540 commit 90fa2da

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/reusable-storage-dependant-tests.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -178,20 +178,12 @@ jobs:
178178
if-no-files-found: error
179179
retention-days: 1
180180

181-
- name: Temp log output
182-
if: |
183-
!cancelled()
184-
run: |
185-
echo "github event name: ${{ github.event_name }}"
186-
echo "reproc step outcome: ${{ steps.reprocessing.outcome }}"
187-
echo "complex step outcome: ${{ steps.complex_tests.outcome }}"
188-
189181
- name: Make Final Test report
190182
if: |
191-
(github.event_name == 'push' && (steps.reprocessing.outcome != 'cancelled' && steps.complex_tests.outcome != 'cancelled'))
183+
!cancelled() && ((github.event_name == 'push' && (steps.reprocessing.outcome != 'cancelled' && steps.complex_tests.outcome != 'cancelled'))
192184
|| (github.event_name == 'pull_request' && (steps.reprocessing.outcome != 'cancelled' && steps.complex_tests.outcome != 'cancelled'))
193185
|| (github.event_name == 'workflow_dispatch' && (steps.reprocessing.outcome != 'cancelled' && steps.complex_tests.outcome != 'cancelled'))
194-
|| (steps.reprocessing.outcome == 'failure' || steps.complex_tests.outcome == 'failure')
186+
|| (steps.reprocessing.outcome == 'failure' || steps.complex_tests.outcome == 'failure'))
195187
timeout-minutes: 1
196188
uses: dorny/test-reporter@v2.1.1
197189
with:

0 commit comments

Comments
 (0)