Skip to content

Commit

Permalink
Try dividing run-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
borzunov committed Aug 8, 2023
1 parent dedccd1 commit b343b28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Test
- name: Set up bootstrap peer
run: |
export MODEL_NAME="${{ matrix.model }}"
export REF_NAME="${{ matrix.model }}"
Expand All @@ -44,7 +44,8 @@ jobs:
python -m petals.cli.run_dht --identity_path tests/bootstrap.id --host_maddrs /ip4/127.0.0.1/tcp/31337 &> bootstrap.log &
BOOTSTRAP_PID=$!
- name: Test
run: |
export INITIAL_PEERS=/ip4/127.0.0.1/tcp/31337/p2p/QmS9KwZptnVdB9FFV7uGgaTq4sEKBwcYeKZDfSpyKDUd1g
# ^-- multiaddr in INITIAL_PEERS is determined by --identity_path and --host_maddrs
Expand Down

0 comments on commit b343b28

Please sign in to comment.