Skip to content

Commit 67eb752

Browse files
tests: Fix zero-copy tests (#2498)
1 parent f9d0eca commit 67eb752

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/reusable-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ jobs:
403403
path: tests/declare-id
404404
- cmd: cd tests/typescript && anchor test --skip-lint && npx tsc --noEmit
405405
path: tests/typescript
406-
- cmd: cd tests/zero-copy && anchor test --skip-lint && cd programs/zero-copy && cargo test-bpf
406+
- cmd: cd tests/zero-copy && rustup toolchain install 1.66.1-x86_64-unknown-linux-gnu && anchor test --skip-lint && cd programs/zero-copy && cargo test-bpf
407407
path: tests/zero-copy
408408
- cmd: cd tests/chat && anchor test --skip-lint
409409
path: tests/chat
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# TODO: Remove when `cargo-test-sbf` works with stable Rust
2+
[toolchain]
3+
channel = "1.66.1-x86_64-unknown-linux-gnu"

0 commit comments

Comments
 (0)