Skip to content

Commit

Permalink
show logs (#100)
Browse files Browse the repository at this point in the history
* show logs

* fix CI

* prettier

* logs

* remove no capture

* pass secrets

* yml fix

* revert changes

* prettier

* Empty commit

* change delay
  • Loading branch information
apoorvsadana authored Aug 24, 2024
1 parent 11dc132 commit 0ad9bfb
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 14 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
name: Rust Test & Coverage

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

jobs:
coverage:
Expand Down Expand Up @@ -74,7 +69,7 @@ jobs:
- name: Run llvm-cov tests
env:
ETHEREUM_BLAST_RPC_URL: ${{ secrets.ETHEREUM_BLAST_RPC_URL }}
run: 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

- name: Coveralls
uses: coverallsapp/github-action@v2
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/linters-cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ name: Task - Linters Cargo
on:
workflow_dispatch:
workflow_call:
push:

jobs:
cargo-lint:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ name: Task - Linters
on:
workflow_dispatch:
workflow_call:
push:

jobs:
prettier:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name: Workflow - Pull Request

on:
pull_request_target:
workflow_dispatch:
pull_request:
branches: [main]
push:
branches: [main]
Expand All @@ -24,3 +25,4 @@ jobs:
name: Run coverage
uses: ./.github/workflows/coverage.yml
needs: rust_build
secrets: inherit
1 change: 0 additions & 1 deletion .github/workflows/rust-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ name: Task - Build Rust
on:
workflow_dispatch:
workflow_call:
push:

jobs:
rust_build:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## Removed

- revert CI changes from settlement client PR.
- `init_config` from all the tests.
- `fetch_from_test` argument

Expand Down
2 changes: 1 addition & 1 deletion crates/settlement-clients/ethereum/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ async fn update_state_blob_with_impersonation_works(#[case] fork_block_no: u64)
// Asserting, Expected to receive transaction hash.
assert!(!update_state_result.is_empty(), "No transaction Hash received.");

sleep(Duration::from_secs(2)).await;
sleep(Duration::from_secs(5)).await;
ethereum_settlement_client
.wait_for_tx_finality(update_state_result.as_str())
.await
Expand Down

0 comments on commit 0ad9bfb

Please sign in to comment.