Skip to content

Commit

Permalink
Revert "ci: test mobile even when success"
Browse files Browse the repository at this point in the history
This reverts commit 01e2ff8.
  • Loading branch information
abdurrahman-ledger committed Oct 21, 2024
1 parent 6bbec2f commit 71312ee
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: ${{ failure() && (inputs.slack_notif || github.event_name == 'push') }}
needs: [detox-tests-ios]
outputs:
report-url: ${{ steps.upload.outputs.report-url }}
Expand Down Expand Up @@ -289,7 +289,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: ${{ failure() && (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 @@ -374,7 +374,7 @@ jobs:
report-on-slack:
runs-on: ubuntu-22.04
needs: [allure-report-android, allure-report-ios]
if: ${{ inputs.slack_notif || github.event_name == 'push' }}
if: ${{ failure() && (inputs.slack_notif || github.event_name == 'push') }}
steps:
- name: format message
uses: actions/github-script@v7
Expand Down

0 comments on commit 71312ee

Please sign in to comment.