diff --git a/.github/workflows/test-mobile-e2e-reusable.yml b/.github/workflows/test-mobile-e2e-reusable.yml index b4a1f8c26a5..53ce0e1f7f4 100644 --- a/.github/workflows/test-mobile-e2e-reusable.yml +++ b/.github/workflows/test-mobile-e2e-reusable.yml @@ -207,9 +207,9 @@ jobs: shardIndex: [1, 2, 3] shardTotal: [3, 1] exclude: - - shardIndex: ${{ github.event.inputs.speculos_tests == 'false' && '2' }} - - shardIndex: ${{ github.event.inputs.speculos_tests == 'false' && '3' }} - - shardTotal: ${{ github.event.inputs.speculos_tests == 'false' && '3' }} + - shardIndex: ${{ (github.event.inputs.speculos_tests == 'false' || github.event_name == 'push') && '2' }} + - shardIndex: ${{ (github.event.inputs.speculos_tests == 'false' || github.event_name == 'push') && '3' }} + - shardTotal: ${{ (github.event.inputs.speculos_tests == 'false' || github.event_name == 'push') && '3' }} - shardTotal: ${{ github.event.inputs.speculos_tests != 'false' && '1' }} steps: