Skip to content

Commit

Permalink
feat : added test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ocdbytes committed Aug 7, 2024
1 parent ae771e0 commit 6a841c3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/test-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
workflow_dispatch:
workflow_call:

env:
CARGO_TERM_COLOR: always

jobs:
test_bridge:
runs-on: macos-latest
Expand All @@ -20,6 +23,10 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install tarpauline
run: |
cargo install cargo-tarpaulin
- name: Run anvil
run: |
anvil </dev/null &>/dev/null &
Expand All @@ -33,4 +40,10 @@ jobs:
- name: Run tests
run: |
echo "Running test...."
RUST_LOG=info cargo test -- --nocapture
cargo tarpaulin --out Html
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./tarpaulin-report.html
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Madara Bootstrapper 👾

[![codecov](https://codecov.io/gh/madara-alliance/madara-bootstrapper/graph/badge.svg?token=EHCDHVPLNN)](https://codecov.io/gh/madara-alliance/madara-bootstrapper)

Madara Bootstrapper is a tool that helps to deploy the **Token Bridge** & **Eth Bridge** contract
between a madara/katana Appchain and another L2 or L1 network. It will also declare wallet
contracts from **OpenZappelin**, **Argent** and **Braavos**. You can find the full list of contracts
Expand Down

0 comments on commit 6a841c3

Please sign in to comment.