Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit 4cede80

Browse files
Fix coverage (#115)
* fix coverage * fix codecov config --------- Co-authored-by: claravanstaden <Cats 4 life!>
1 parent bc607a0 commit 4cede80

File tree

4 files changed

+26
-1324
lines changed

4 files changed

+26
-1324
lines changed

Diff for: .github/workflows/parachain.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "!bridges/snowbridge/README.md"
88
- "!bridges/snowbridge/LICENSE"
99
branches:
10-
- main
10+
- snowbridge
1111
pull_request:
1212
workflow_dispatch:
1313

Diff for: bridges/snowbridge/scripts/contribute-upstream.sh

+5
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ git checkout "$branch_name"
4040

4141
# remove everything we think is not required for our needs
4242
rm -rf rust-toolchain.toml
43+
rm -rf codecov.yml
4344
rm -rf $SNOWBRIDGE_FOLDER/.cargo
4445
rm -rf $SNOWBRIDGE_FOLDER/.github
4546
rm -rf $SNOWBRIDGE_FOLDER/SECURITY.md
@@ -77,4 +78,8 @@ git fetch parity master
7778
git checkout parity/master -- .github
7879
git add -- .github
7980

81+
# Fetch the latest from parity master
82+
echo "Fetching latest from Parity master. Resolve merge conflicts, if there are any."
83+
git fetch parity master
84+
git merge parity/master
8085
echo "OK"

Diff for: codecov.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
coverage:
2+
status:
3+
project: off
4+
patch: off
5+
github_checks:
6+
annotations: false
7+
ignore:
8+
- "polkadot-sdk/bridges/snowbridge/pallets/ethereum-client/fixtures"
9+
- "polkadot-sdk/bridges/snowbridge/pallets/ethereum-client/fuzz"
10+
- "polkadot-sdk/bridges/snowbridge/pallets/ethereum-client/src/benchmarking"
11+
- "polkadot-sdk/bridges/snowbridge/pallets/ethereum-client/src/weights.rs"
12+
- "polkadot-sdk/bridges/snowbridge/pallets/inbound-queue/fixtures"
13+
- "polkadot-sdk/bridges/snowbridge/pallets/inbound-queue/src/weights.rs"
14+
- "polkadot-sdk/bridges/snowbridge/pallets/outbound-queue/src/weights.rs"
15+
- "polkadot-sdk/bridges/snowbridge/pallets/system/src/weights.rs"
16+
flags:
17+
rust:
18+
paths:
19+
- polkadot-sdk/bridges/snowbridge
20+
carryforward: true

0 commit comments

Comments
 (0)