Skip to content

Commit

Permalink
Add CI for monorepo (paritytech#1145)
Browse files Browse the repository at this point in the history
* Add CI for monorepo

* fix frame tests

* Format features

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* add note for skipping tests and disable test-linux-stable-all

* Fix tests and compile issues (paritytech#1152)

* Fix feature dependant import

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Bump test timeout

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove feature gate

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add resolver 2

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove old lockfile

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Format features

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

---------

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix check-dependency-rules

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* rm test-runtime

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Actually fix script

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* enable cargo-check-each-crate-macos

* Run check-each-crate on 6 machines (paritytech#1163)

---------

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
alvicsam and ggwpez authored Aug 25, 2023
1 parent 74da00c commit 1924e10
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
... |
|
note: required by a bound in `frame_system::Event`
--> $WORKSPACE/frame/system/src/lib.rs
--> $WORKSPACE/substrate/frame/system/src/lib.rs
|
| pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event`
Expand Down Expand Up @@ -97,7 +97,7 @@ note: required because it appears within the type `RuntimeEvent`
| ||_- in this macro invocation
... |
note: required by a bound in `EncodeLike`
--> $CARGO/parity-scale-codec-3.6.1/src/encode_like.rs
--> $CARGO/parity-scale-codec-3.6.4/src/encode_like.rs
|
| pub trait EncodeLike<T: Encode = Self>: Sized + Encode {}
| ^^^^^ required by this bound in `EncodeLike`
Expand Down Expand Up @@ -129,7 +129,7 @@ note: required because it appears within the type `RuntimeEvent`
| ||_- in this macro invocation
... |
note: required by a bound in `Decode`
--> $CARGO/parity-scale-codec-3.6.1/src/codec.rs
--> $CARGO/parity-scale-codec-3.6.4/src/codec.rs
|
| pub trait Decode: Sized {
| ^^^^^ required by this bound in `Decode`
Expand Down Expand Up @@ -293,7 +293,7 @@ note: required because it appears within the type `RuntimeCall`
| ||_- in this macro invocation
... |
note: required by a bound in `EncodeLike`
--> $CARGO/parity-scale-codec-3.6.1/src/encode_like.rs
--> $CARGO/parity-scale-codec-3.6.4/src/encode_like.rs
|
| pub trait EncodeLike<T: Encode = Self>: Sized + Encode {}
| ^^^^^ required by this bound in `EncodeLike`
Expand Down Expand Up @@ -326,7 +326,7 @@ note: required because it appears within the type `RuntimeCall`
| ||_- in this macro invocation
... |
note: required by a bound in `Decode`
--> $CARGO/parity-scale-codec-3.6.1/src/codec.rs
--> $CARGO/parity-scale-codec-3.6.4/src/codec.rs
|
| pub trait Decode: Sized {
| ^^^^^ required by this bound in `Decode`
Expand All @@ -339,7 +339,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
| ^^^^^^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::GenesisConfig`
--> $WORKSPACE/frame/system/src/lib.rs
--> $WORKSPACE/substrate/frame/system/src/lib.rs
|
| pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ error[E0277]: the trait bound `pallet::GenesisConfig: std::default::Default` is
| ^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `pallet::GenesisConfig`
|
note: required by a bound in `BuildGenesisConfig`
--> $WORKSPACE/frame/support/src/traits/hooks.rs
--> $WORKSPACE/substrate/frame/support/src/traits/hooks.rs
|
| pub trait BuildGenesisConfig: Default + sp_runtime::traits::MaybeSerializeDeserialize {
| ^^^^^^^ required by this bound in `BuildGenesisConfig`
help: consider annotating `pallet::GenesisConfig` with `#[derive(Default)]`
|
|
19 + #[derive(Default)]
20 | pub struct GenesisConfig;
|
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ error[E0107]: missing generics for trait `Hooks`
| ^^^^^ expected 1 generic argument
|
note: trait defined here, with 1 generic parameter: `BlockNumber`
--> $WORKSPACE/frame/support/src/traits/hooks.rs
--> $WORKSPACE/substrate/frame/support/src/traits/hooks.rs
|
| pub trait Hooks<BlockNumber> {
| ^^^^^ -----------
help: add missing generic argument
|
12 | impl<T: Config> Hooks<BlockNumber> for Pallet<T> {}
| +++++++++++++
|
12 | impl<T: Config> Hooks<BlockNumber> for Pallet<T> {}
| +++++++++++++

0 comments on commit 1924e10

Please sign in to comment.