At the moment, our Github workflow is running cargo test without any feature flags. This allows for changes that break benchmarks to pass the pipeline and therefore be merged into the main branch. This will cause building the main branch with runtime-benchmarks feature to fail. The same thing happens for pallets/runtimes (i.e. development runtime) that do not properly declare the try-runtime feature.
Requirement
Pipeline should be changed so that it runs cargo test --features runtime-benchmarks try-runtime
Notes
Before changing the workflow to run tests with the try-runtime feature, development runtime must be removed since it's not used anymore and it's causing errors when built with try-runtime. There's already an open ticket for deleting this runtime here.
Context
At the moment, our Github workflow is running
cargo test
without any feature flags. This allows for changes that break benchmarks to pass the pipeline and therefore be merged into the main branch. This will cause building the main branch withruntime-benchmarks
feature to fail. The same thing happens for pallets/runtimes (i.e. development runtime) that do not properly declare thetry-runtime
feature.Requirement
Pipeline should be changed so that it runs
cargo test --features runtime-benchmarks try-runtime
Notes
Before changing the workflow to run tests with the
try-runtime
feature, development runtime must be removed since it's not used anymore and it's causing errors when built withtry-runtime
. There's already an open ticket for deleting this runtime here.