Skip to content

Commit

Permalink
ci: fix sharding for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
abdurrahman-ledger committed Dec 18, 2024
1 parent b92eb69 commit a34e559
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test-mobile-e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,9 @@ jobs:
shardIndex: [1, 2, 3]
shardTotal: [3, 1]
exclude:
- 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' && github.event_name != 'push' && '1' }}
- shardIndex: ${{ (github.event.inputs.speculos_tests == 'false' || github.event_name == 'push' || github.event_name == 'pull_request') && ('2' || '3') }}
- shardTotal: ${{ (github.event.inputs.speculos_tests == 'false' || github.event_name == 'push' || github.event_name == 'pull_request') && '3' }}
- shardTotal: ${{ github.event.inputs.speculos_tests != 'false' && github.event_name != 'push' && || github.event_name != 'pull_request' && '1' }}

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit a34e559

Please sign in to comment.