Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
abdurrahman-ledger committed Dec 13, 2024
1 parent 359ee29 commit 986847d
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/test-mobile-e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,19 +204,12 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
- shardIndex: 1
shardTotal: 1
if: ${{ inputs.speculos_tests != 'false' }}
- shardIndex: 1
shardTotal: 3
if: ${{ inputs.speculos_test != 'false' }}
- shardIndex: 2
shardTotal: 3
if: ${{ inputs.speculos_test != 'false' }}
- shardIndex: 3
shardTotal: 3
if: ${{ inputs.speculos_test == 'false' }}
shard:
- index: [1, 2, 3]
- total: [3]
exclude:
- shard: ${{ inputs.speculos_tests == 'false' && 'index' }}
- shard: ${{ inputs.speculos_tests == 'false' && 'total' }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -309,7 +302,7 @@ jobs:
bot_key: ${{ secrets.GH_BOT_PRIVATE_KEY }}
- name: Run Android Tests
id: detox
run: pnpm mobile e2e:ci -p android -t $([[ "$INPUT_SPECULOS" == "true" ]] && printf %s '--speculos') --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
run: pnpm mobile e2e:ci -p android -t $([[ "$INPUT_SPECULOS" == "true" ]] && printf %s '--speculos') --shard ${{ matrix.shard.index }}/${{ matrix.shard.total }}
timeout-minutes: ${{ env.SPECULOS_RUN && 120 || 45 }}
env:
DETOX_INSTALL_TIMEOUT: 120000
Expand Down

0 comments on commit 986847d

Please sign in to comment.