Skip to content

Commit

Permalink
ci: make shard conditionnal
Browse files Browse the repository at this point in the history
  • Loading branch information
abdurrahman-ledger committed Dec 13, 2024
1 parent 7d9a1a7 commit b94c9d2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test-mobile-e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,13 @@ jobs:
fail-fast: false
matrix:
shardIndex: [1, 2, 3]
shardTotal: [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' }}
- shardTotal: ${{ github.event.inputs.speculos_tests != 'false' && '1' }}

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

0 comments on commit b94c9d2

Please sign in to comment.