This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-14
lines changed
token/program-2022-test/tests Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -3,19 +3,19 @@ name: Token Pull Request
3
3
on :
4
4
pull_request :
5
5
paths :
6
- - ' associated-token-account/**'
7
- - ' token/**'
8
- - ' ci/*-version.sh'
9
- - ' .github/workflows/pull-request-token.yml'
10
- - ' !token/js/**'
6
+ - " associated-token-account/**"
7
+ - " token/**"
8
+ - " ci/*-version.sh"
9
+ - " .github/workflows/pull-request-token.yml"
10
+ - " !token/js/**"
11
11
push :
12
12
branches : [master]
13
13
paths :
14
- - ' associated-token-account/**'
15
- - ' token/**'
16
- - ' ci/*-version.sh'
17
- - ' .github/workflows/pull-request-token.yml'
18
- - ' !token/js/**'
14
+ - " associated-token-account/**"
15
+ - " token/**"
16
+ - " ci/*-version.sh"
17
+ - " .github/workflows/pull-request-token.yml"
18
+ - " !token/js/**"
19
19
20
20
concurrency :
21
21
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
66
66
echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
67
67
68
68
- name : Build and test token
69
- run : |
70
- cargo build-sbf --manifest-path record/program/Cargo.toml
71
- ./ci/cargo-test-sbf.sh token
69
+ run : ./ci/cargo-test-sbf.sh token
72
70
73
71
- name : Upload programs
74
72
uses : actions/upload-artifact@v3
@@ -248,7 +246,6 @@ jobs:
248
246
run : |
249
247
cargo build-sbf --manifest-path token/program-2022/Cargo.toml
250
248
cargo build-sbf --manifest-path instruction-padding/program/Cargo.toml
251
- cargo build-sbf --manifest-path record/program/Cargo.toml
252
249
./token/twoxtx-setup.sh
253
250
./token/twoxtx-solana/cargo-test-sbf --manifest-path token/program-2022-test/Cargo.toml -- --nocapture
254
251
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ impl TestContext {
44
44
pub async fn new ( ) -> Self {
45
45
let mut program_test =
46
46
ProgramTest :: new ( "spl_token_2022" , id ( ) , processor ! ( Processor :: process) ) ;
47
+ program_test. prefer_bpf ( false ) ;
47
48
program_test. add_program (
48
49
"spl_record" ,
49
50
spl_record:: id ( ) ,
You can’t perform that action at this time.
0 commit comments