Skip to content

Commit

Permalink
Fix coverage (#115)
Browse files Browse the repository at this point in the history
* fix coverage

* fix codecov config

---------

Co-authored-by: claravanstaden <Cats 4 life!>
  • Loading branch information
claravanstaden authored Feb 22, 2024
1 parent bc607a0 commit 4cede80
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1,324 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/parachain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- "!bridges/snowbridge/README.md"
- "!bridges/snowbridge/LICENSE"
branches:
- main
- snowbridge
pull_request:
workflow_dispatch:

Expand Down
5 changes: 5 additions & 0 deletions bridges/snowbridge/scripts/contribute-upstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ git checkout "$branch_name"

# remove everything we think is not required for our needs
rm -rf rust-toolchain.toml
rm -rf codecov.yml
rm -rf $SNOWBRIDGE_FOLDER/.cargo
rm -rf $SNOWBRIDGE_FOLDER/.github
rm -rf $SNOWBRIDGE_FOLDER/SECURITY.md
Expand Down Expand Up @@ -77,4 +78,8 @@ git fetch parity master
git checkout parity/master -- .github
git add -- .github

# Fetch the latest from parity master
echo "Fetching latest from Parity master. Resolve merge conflicts, if there are any."
git fetch parity master
git merge parity/master
echo "OK"
20 changes: 20 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
coverage:
status:
project: off
patch: off
github_checks:
annotations: false
ignore:
- "polkadot-sdk/bridges/snowbridge/pallets/ethereum-client/fixtures"
- "polkadot-sdk/bridges/snowbridge/pallets/ethereum-client/fuzz"
- "polkadot-sdk/bridges/snowbridge/pallets/ethereum-client/src/benchmarking"
- "polkadot-sdk/bridges/snowbridge/pallets/ethereum-client/src/weights.rs"
- "polkadot-sdk/bridges/snowbridge/pallets/inbound-queue/fixtures"
- "polkadot-sdk/bridges/snowbridge/pallets/inbound-queue/src/weights.rs"
- "polkadot-sdk/bridges/snowbridge/pallets/outbound-queue/src/weights.rs"
- "polkadot-sdk/bridges/snowbridge/pallets/system/src/weights.rs"
flags:
rust:
paths:
- polkadot-sdk/bridges/snowbridge
carryforward: true
Loading

0 comments on commit 4cede80

Please sign in to comment.