mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 10:01:17 +00:00
[ci] Add experimental feature in tests and cargo check (#1173)
* [ci] Add experimental feature in tests and cargo check * fix labels GHA * disable D-labels * add check license * add auto-label-issues * fix CHECK_SPECS for labels * rm useless commands * Update .github/workflows/check-labels.yml * fix * Fudge license scanner * remove spellcheck job --------- Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
2c17d3925a
commit
48415ce2a7
@@ -20,7 +20,7 @@ check-try-runtime:
|
||||
- time cargo check --locked -p parachain-template-node --features try-runtime
|
||||
# add after https://github.com/paritytech/substrate/pull/14502 is merged
|
||||
# experimental code may rely on try-runtime and vice-versa
|
||||
# - time cargo check --locked --features try-runtime,experimental
|
||||
- time cargo check --locked --features try-runtime,experimental
|
||||
|
||||
cargo-fmt-manifest:
|
||||
stage: check
|
||||
@@ -57,21 +57,6 @@ cargo-deny-licenses:
|
||||
paths:
|
||||
- deny.log
|
||||
|
||||
spellcheck:
|
||||
stage: check
|
||||
extends:
|
||||
- .kubernetes-env
|
||||
- .common-refs
|
||||
script:
|
||||
- cargo spellcheck --version
|
||||
# compare with the commit parent to the PR, given it's from a default branch
|
||||
- git fetch origin +${CI_DEFAULT_BRANCH}:${CI_DEFAULT_BRANCH}
|
||||
- echo "___Spellcheck is going to check your diff___"
|
||||
- cargo spellcheck list-files -vvv $(git diff --diff-filter=AM --name-only $(git merge-base ${CI_COMMIT_SHA} ${CI_DEFAULT_BRANCH} -- :^bridges))
|
||||
- time cargo spellcheck check -vvv --cfg=.gitlab/spellcheck.toml --checkers hunspell --code 1
|
||||
$(git diff --diff-filter=AM --name-only $(git merge-base ${CI_COMMIT_SHA} ${CI_DEFAULT_BRANCH} -- :^bridges))
|
||||
allow_failure: true
|
||||
|
||||
# from substrate
|
||||
# not sure if it's needed in monorepo
|
||||
check-dependency-rules:
|
||||
|
||||
@@ -34,7 +34,7 @@ test-linux-stable:
|
||||
--release \
|
||||
--verbose \
|
||||
--no-fail-fast \
|
||||
--features runtime-benchmarks,try-runtime \
|
||||
--features runtime-benchmarks,try-runtime,experimental \
|
||||
--partition count:${CI_NODE_INDEX}/${CI_NODE_TOTAL}
|
||||
# run runtime-api tests with `enable-staging-api` feature on the 1st node
|
||||
- if [ ${CI_NODE_INDEX} == 1 ]; then time cargo nextest run -p sp-api-test --features enable-staging-api; fi
|
||||
|
||||
Reference in New Issue
Block a user