Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardocustodio committed Jun 27, 2024
1 parent 2d6dc0a commit 4a8a29b
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ jobs:
run: cd examples && dart run polkadart_cli:generate -v

- name: Check format
run: SCOPE="${{ matrix.package }}" dart run melos format
run: melos exec --scope="${{ matrix.package }}" -- dart run format

- name: Analyze
run: SCOPE="${{ matrix.package }}" dart run melos analyze
run: melos exec --scope="${{ matrix.package }}" -- dart run analyze

- name: Run tests
run: SCOPE="${{ matrix.package }}" dart run melos test
run: Smelos exec --scope="${{ matrix.package }}" -- dart run test

- name: Run format coverage
run: SCOPE="${{ matrix.package }}" dart run melos coverage
run: melos exec --scope="${{ matrix.package }}" -- dart run coverage

- uses: codecov/codecov-action@v4
with:
Expand Down
4 changes: 3 additions & 1 deletion examples/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# melos_managed_dependency_overrides: polkadart,polkadart_cli,polkadart_keyring,polkadart_scale_codec,ss58,substrate_bip39,substrate_metadata
# melos_managed_dependency_overrides: polkadart,polkadart_cli,polkadart_keyring,polkadart_scale_codec,ss58,substrate_bip39,substrate_metadata,sr25519
dependency_overrides:
polkadart:
path: ../packages/polkadart
Expand All @@ -16,3 +16,5 @@ dependency_overrides:
path: ../packages/substrate_bip39
substrate_metadata:
path: ../packages/substrate_metadata
sr25519:
path: ../packages/sr25519
9 changes: 8 additions & 1 deletion packages/polkadart/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# melos_managed_dependency_overrides: secp256k1_ecdsa,sr25519,ss58
# melos_managed_dependency_overrides
dependency_overrides:
polkadart_scale_codec:
Expand All @@ -7,4 +8,10 @@ dependency_overrides:
polkadart_keyring:
path: ../polkadart_keyring
substrate_bip39:
path: ../substrate_bip39
path: ../substrate_bip39
secp256k1_ecdsa:
path: ../secp256k1_ecdsa
sr25519:
path: ../sr25519
ss58:
path: ../ss58
12 changes: 11 additions & 1 deletion packages/polkadart_cli/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
# melos_managed_dependency_overrides: polkadart_scale_codec,substrate_metadata
# melos_managed_dependency_overrides: polkadart_scale_codec,substrate_metadata,polkadart_keyring,secp256k1_ecdsa,sr25519,ss58,substrate_bip39
dependency_overrides:
polkadart:
path: ../polkadart
polkadart_keyring:
path: ../polkadart_keyring
polkadart_scale_codec:
path: ../polkadart_scale_codec
secp256k1_ecdsa:
path: ../secp256k1_ecdsa
sr25519:
path: ../sr25519
ss58:
path: ../ss58
substrate_bip39:
path: ../substrate_bip39
substrate_metadata:
path: ../substrate_metadata
4 changes: 3 additions & 1 deletion packages/polkadart_keyring/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# melos_managed_dependency_overrides: polkadart_scale_codec,ss58
# melos_managed_dependency_overrides: polkadart_scale_codec,ss58,sr25519
# melos_managed_dependency_overrides
dependency_overrides:
polkadart_scale_codec:
Expand All @@ -9,3 +9,5 @@ dependency_overrides:
path: ../substrate_bip39
secp256k1_ecdsa:
path: ../secp256k1_ecdsa
sr25519:
path: ../sr25519
6 changes: 6 additions & 0 deletions packages/sr25519/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# melos_managed_dependency_overrides: polkadart_scale_codec,substrate_bip39
dependency_overrides:
polkadart_scale_codec:
path: ../polkadart_scale_codec
substrate_bip39:
path: ../substrate_bip39

0 comments on commit 4a8a29b

Please sign in to comment.