tests: Fix zero-copy tests (#2498)

This commit is contained in:
acheron 2023-05-20 20:34:38 +02:00 committed by GitHub
parent f9d0eca704
commit 67eb7520b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,3 @@
# TODO: Remove when `cargo-test-sbf` works with stable Rust
[toolchain]
channel = "1.66.1-x86_64-unknown-linux-gnu"