Skip to content

Commit

Permalink
chore: create a variable for total_machines
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstork committed Dec 30, 2024
1 parent 3835297 commit 163ad5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ jobs:
node-version: ['22']
install-command: ['npm ci']
machine: ['0', '1', '2', '3', '4']
total_machines: [5]
include:
# We test on the oldest supported Node.js version, but only with a
# single combination (Ubuntu)
Expand Down Expand Up @@ -198,7 +199,7 @@ jobs:
env:
# split tests across multiple machines
CI_NODE_INDEX: ${{ matrix.machine }}
CI_NODE_TOTAL: 5
CI_NODE_TOTAL: ${{ matrix.total_machines }}
with:
timeout_minutes: 30
max_attempts: 3
Expand Down

0 comments on commit 163ad5f

Please sign in to comment.