Skip to content

Commit

Permalink
[QAA] CI: fix llm notif when job fails (#8259)
Browse files Browse the repository at this point in the history
ci: fix llm notif when job fails
  • Loading branch information
abdurrahman-ledger authored Oct 31, 2024
1 parent 23ae8e1 commit 57ea64b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-mobile-e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
allure-report-ios:
name: "Allure Reports Export on Server"
runs-on: [ledger-live-medium]
if: ${{ inputs.slack_notif || github.event_name == 'push' }}
if: ${{ always() && (inputs.slack_notif || github.event_name == 'push') }}
needs: [detox-tests-ios]
outputs:
report-url: ${{ steps.upload.outputs.report-url }}
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
allure-report-android:
name: "Allure Reports Export on Server"
runs-on: [ledger-live-medium]
if: ${{ inputs.slack_notif || github.event_name == 'push' }}
if: ${{ always() && (inputs.slack_notif || github.event_name == 'push') }}
outputs:
report-url: ${{ steps.upload.outputs.report-url }}
result: ${{ steps.summary.outputs.test_result }}
Expand Down Expand Up @@ -376,7 +376,7 @@ jobs:
report-on-slack:
runs-on: ubuntu-22.04
needs: [allure-report-android, allure-report-ios]
if: ${{ (failure() && github.event_name == 'push') || inputs.slack_notif }}
if: ${{ (failure() && github.event_name == 'push') || (always() && inputs.slack_notif) }}
env:
IOS_STATUS: ${{ needs.allure-report-ios.outputs.status }}
IOS_REPORT_URL: ${{ needs.allure-report-ios.outputs.report-url }}
Expand Down

0 comments on commit 57ea64b

Please sign in to comment.