File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 55 branches : [main]
66 pull_request :
77
8- # simplest example of using the rust-base action
98jobs :
9+ install-foundry :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Install Foundry
13+ uses : foundry-rs/foundry-toolchain@v1
14+ - name : Anvil Version
15+ run : anvil --version
16+
1017 rust-base :
18+ needs : install-foundry
1119 uses : init4tech/actions/.github/workflows/rust-base.yml@main
1220 with :
1321 requires-private-deps : true
1422 secrets :
15- SSH_PRIVATE_KEY : ${{ secrets.SSH_PRIVATE_KEY }}
16-
23+ SSH_PRIVATE_KEY : ${{ secrets.SSH_PRIVATE_KEY }}
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ path = "bin/builder.rs"
2121name = " transaction-submitter"
2222path = " bin/submit_transaction.rs"
2323
24+ [features ]
25+ integration = []
26+
2427[dependencies ]
2528init4-bin-base = " 0.3"
2629
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ mod tests {
2727 /// This test sets up a simulated environment using Anvil, creates a block builder,
2828 /// and verifies that the block builder can successfully build a block containing
2929 /// transactions from multiple senders.
30- #[ ignore = "integration test" ]
30+ #[ cfg ( feature = "integration" ) ]
3131 #[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
3232 async fn test_handle_build ( ) {
3333 setup_logging ( ) ;
You can’t perform that action at this time.
0 commit comments