Skip to content

Commit 37b4e43

Browse files
authored
all: add cargo build step to integration test requirements (#6116)
1 parent dc6981c commit 37b4e43

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CLAUDE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,15 @@ cargo test -p graph-tests --test runner_tests test_name -- --nocapture
9090
3. Anvil running on localhost:3021
9191
4. Yarn (v1)
9292
5. Foundry (for smart contract compilation)
93+
6. **Built graph-node binary** (integration tests require the compiled binary)
9394

9495
The environment dependencies and environment setup are operated by the human.
9596

9697
**Running Integration Tests:**
9798
```bash
99+
# REQUIRED: Build graph-node binary before running integration tests
100+
cargo build --bin graph-node
101+
98102
# Run all integration tests
99103
cargo test -p graph-tests --test integration_tests -- --nocapture
100104

@@ -247,6 +251,9 @@ cargo test -p graph-tests --test runner_tests -- --nocapture
247251
# PostgreSQL: localhost:3011, IPFS: localhost:3001, Anvil: localhost:3021
248252
nix run .#integration
249253

254+
# Claude: Build graph-node binary before running integration tests
255+
cargo build --bin graph-node
256+
250257
# Claude: Run integration tests
251258
cargo test -p graph-tests --test integration_tests
252259
```

0 commit comments

Comments
 (0)