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 5
5
branches : [main]
6
6
pull_request :
7
7
8
- # simplest example of using the rust-base action
9
8
jobs :
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
+
10
17
rust-base :
18
+ needs : install-foundry
11
19
uses : init4tech/actions/.github/workflows/rust-base.yml@main
12
20
with :
13
21
requires-private-deps : true
14
22
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"
21
21
name = " transaction-submitter"
22
22
path = " bin/submit_transaction.rs"
23
23
24
+ [features ]
25
+ integration = []
26
+
24
27
[dependencies ]
25
28
init4-bin-base = " 0.3"
26
29
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ mod tests {
27
27
/// This test sets up a simulated environment using Anvil, creates a block builder,
28
28
/// and verifies that the block builder can successfully build a block containing
29
29
/// transactions from multiple senders.
30
- #[ ignore = "integration test" ]
30
+ #[ cfg ( feature = "integration" ) ]
31
31
#[ tokio:: test( flavor = "multi_thread" , worker_threads = 2 ) ]
32
32
async fn test_handle_build ( ) {
33
33
setup_logging ( ) ;
You can’t perform that action at this time.
0 commit comments