diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 8d860b50..b40ed238 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -64,10 +64,16 @@ jobs: run: | wget -P ./crates/prover-services/sharp-service/tests/artifacts https://madara-orchestrator-sharp-pie.s3.amazonaws.com/238996-SN.zip + - name: Print env variable + env: + ETHEREUM_BLAST_RPC_URL: ${{ secrets.ETHEREUM_BLAST_RPC_URL }} + run: | + echo ${{ env.ETHEREUM_BLAST_RPC_URL }} + - name: Run llvm-cov tests env: ETHEREUM_BLAST_RPC_URL: ${{ secrets.ETHEREUM_BLAST_RPC_URL }} - run: RUST_LOG=debug RUST_BACKTRACE=1 cargo llvm-cov nextest --release --lcov --output-path lcov.info --test-threads=1 + run: RUST_LOG=debug RUST_BACKTRACE=1 cargo llvm-cov nextest --release --lcov --output-path lcov.info --test-threads=1 -- --nocapture - name: Coveralls uses: coverallsapp/github-action@v2 diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 84d6c35c..70369832 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -4,24 +4,12 @@ name: Workflow - Pull Request on: workflow_dispatch: pull_request: - branches: [main] + branches: [ main ] push: - branches: [main] + branches: [ main ] jobs: - linters: - name: Run linters - uses: ./.github/workflows/linters.yml - - rust_build: - name: Build Rust project - uses: ./.github/workflows/rust-build.yml - - linters_cargo: - name: Run Cargo linters - uses: ./.github/workflows/linters-cargo.yml coverage: name: Run coverage uses: ./.github/workflows/coverage.yml - needs: rust_build diff --git a/crates/settlement-clients/ethereum/src/tests/mod.rs b/crates/settlement-clients/ethereum/src/tests/mod.rs index 65694e46..6d405e05 100644 --- a/crates/settlement-clients/ethereum/src/tests/mod.rs +++ b/crates/settlement-clients/ethereum/src/tests/mod.rs @@ -104,6 +104,7 @@ impl EthereumTestBuilder { dotenvy::from_filename(&*ENV_FILE_PATH).expect("Could not load .env.test file."); // Setup Anvil + println!("this is the eth rpc {:?}", *ETH_RPC); let anvil = match self.fork_block { Some(fork_block) => { Anvil::new().fork(&*ETH_RPC).fork_block_number(fork_block).try_spawn().expect("Could not spawn Anvil.")