Skip to content

Commit

Permalink
tests: Fix zero-copy tests (coral-xyz#2498)
Browse files Browse the repository at this point in the history
  • Loading branch information
acheroncrypto authored May 20, 2023
1 parent f9d0eca commit 67eb752
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ jobs:
path: tests/declare-id
- cmd: cd tests/typescript && anchor test --skip-lint && npx tsc --noEmit
path: tests/typescript
- cmd: cd tests/zero-copy && anchor test --skip-lint && cd programs/zero-copy && cargo test-bpf
- 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
path: tests/zero-copy
- cmd: cd tests/chat && anchor test --skip-lint
path: tests/chat
Expand Down
3 changes: 3 additions & 0 deletions tests/zero-copy/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# TODO: Remove when `cargo-test-sbf` works with stable Rust
[toolchain]
channel = "1.66.1-x86_64-unknown-linux-gnu"

0 comments on commit 67eb752

Please sign in to comment.