Skip to content

Commit

Permalink
Add GH multinode test, r1
Browse files Browse the repository at this point in the history
  • Loading branch information
leshikus committed Jun 14, 2024
1 parent 4f7954e commit c8576dc
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/deploy-gh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ env:
num_nodes: 4

jobs:
define_nodes:
steps:
run: |
echo "nodes='"$(python -c "print(list(range($num_nodes)))")"'" >>"$GITHUB_ENV"
define-nodes:
runs-on: ubuntu-latest
steps:
run: |
echo "nodes='"$(python -c "print(list(range($num_nodes)))")"'" >>"$GITHUB_ENV"
nodes:
needs: define-nodes
runs-on: ubuntu-latest

strategy:
matrix:
id: ${{ fromJSON(env.nodes) }}
Expand Down

0 comments on commit c8576dc

Please sign in to comment.