mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 07:01:05 +00:00
Restore integration tests (#2620)
* restored test_consensus * restored test_sync * run integration tests only on CI * use single test-thread for integration tests * post-merge fix * panic when integration test runs for too long * add some traces to integration logs * manual wait -> timeout * post-merge fix * post-merge fix
This commit is contained in:
committed by
Gavin Wood
parent
9ad9f7eebd
commit
012ce5878b
@@ -96,6 +96,34 @@ test-linux-stable: &test
|
||||
- time cargo test --all --release --verbose --locked
|
||||
- sccache -s
|
||||
|
||||
test-linux-stable-int: &test
|
||||
stage: test
|
||||
variables:
|
||||
RUST_TOOLCHAIN: stable
|
||||
# Enable debug assertions since we are running optimized builds for testing
|
||||
# but still want to have debug assertions.
|
||||
RUSTFLAGS: -Cdebug-assertions=y
|
||||
TARGET: native
|
||||
tags:
|
||||
- linux-docker
|
||||
only:
|
||||
- tags
|
||||
- master
|
||||
- schedules
|
||||
- web
|
||||
- /^[0-9]+$/
|
||||
except:
|
||||
variables:
|
||||
- $DEPLOY_TAG
|
||||
before_script:
|
||||
- sccache -s
|
||||
- ./scripts/build.sh
|
||||
script:
|
||||
- time RUST_LOG=sync=trace,consensus=trace,client=trace,state-db=trace,db=trace,forks=trace,state_db=trace,storage_cache=trace cargo test -p node-cli --release --verbose --locked -- --ignored --test-threads=1
|
||||
- sccache -s
|
||||
allow_failure: true
|
||||
|
||||
|
||||
check-web-wasm:
|
||||
stage: test
|
||||
<<: *compiler_info
|
||||
|
||||
Reference in New Issue
Block a user