Skip to content

Commit

Permalink
update: Coverage CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
heemankv committed Aug 16, 2024
1 parent 6c03f7b commit a3c0863
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
name: Task - Rust Tests & Coverage

on:
workflow_dispatch:
workflow_call:
pull_request_target:
branches:
- main
types: [opened, synchronize, reopened]
push:
branches-ignore:
- main

jobs:
coverage:
Expand Down
3 changes: 2 additions & 1 deletion crates/settlement-clients/ethereum/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ async fn update_state_blob_with_impersonation_works(#[case] fork_block_no: u64)
#[tokio::test]
#[case::typical(20468828)]
async fn get_last_settled_block_typical_works(#[case] fork_block_no: u64) {
env::set_var("DEFAULT_SETTLEMENT_CLIENT_RPC", "https://eth.llamarpc.com");
dotenvy::from_filename(&*ENV_FILE_PATH).expect("Could not load .env.test file.");
env::set_var("DEFAULT_SETTLEMENT_CLIENT_RPC", &*ETH_RPC);

let TestSetup { anvil: _, ethereum_settlement_client, provider: _ } = setup_ethereum_test(fork_block_no);

Expand Down

0 comments on commit a3c0863

Please sign in to comment.