Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix coverage #115

Merged
merged 2 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading