mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 23:31:07 +00:00
ci: add job to test staking in srml (#2995)
* ci: add job to test staking in srml * restrict on code changes * test whole package Co-Authored-By: thiolliere <gui.thiolliere@gmail.com> * add --release --verbose flags
This commit is contained in:
committed by
Gavin Wood
parent
c0755992ab
commit
6acef99561
@@ -126,6 +126,32 @@ test-linux-stable: &test-linux
|
||||
- time cargo test --all --release --verbose --locked
|
||||
- sccache -s
|
||||
|
||||
|
||||
test-srml-staking: &test-srml-staking
|
||||
stage: test
|
||||
<<: *docker-env
|
||||
variables:
|
||||
# Enable debug assertions since we are running optimized builds for testing
|
||||
# but still want to have debug assertions.
|
||||
RUSTFLAGS: -Cdebug-assertions=y
|
||||
RUST_BACKTRACE: 1
|
||||
except:
|
||||
variables:
|
||||
- $DEPLOY_TAG
|
||||
only:
|
||||
changes:
|
||||
- .gitlab-ci.yml
|
||||
- srml/staking/*
|
||||
script:
|
||||
- cd srml/staking/
|
||||
- time cargo test --release --verbose --no-default-features --features std
|
||||
- sccache -s
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
test-linux-stable-int:
|
||||
<<: *test-linux
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user