Skip to content

Commit

Permalink
Fail dependant checks on cargo check warnings (paritytech#13922)
Browse files Browse the repository at this point in the history
* Fail dependant checks on cargo check warnings

* Adjust feature flags for check-dependent-polkadot
  • Loading branch information
Mira Ressel authored and nathanwhit committed Jul 19, 2023
1 parent 9ceaffe commit abcacca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/ci/gitlab/pipeline/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
extends:
- .docker-env
- .test-refs-no-trigger-prs-only
variables:
RUSTFLAGS: "-D warnings"
script:
- git clone
--depth=1
Expand All @@ -35,6 +37,10 @@ check-dependent-polkadot:
COMPANION_OVERRIDES: |
substrate: polkadot-v*
polkadot: release-v*
# enable the same feature flags as polkadot's test-linux-stable
COMPANION_CHECK_COMMAND: >
cargo check --all-targets --workspace
--features=runtime-benchmarks,runtime-metrics,try-runtime
rules:
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ #PRs

Expand Down

0 comments on commit abcacca

Please sign in to comment.