Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit 2d4fe95

Browse files
Xanewokrcny
andauthored
ci: Add a dist test suite check in GL (#147)
* ci: Add a dist test suite check in GL * Fix a typo * Mount dummy `proc` first to propagate `proc` mounting into child namespaces * ci: Add a dist test suite check in GL * Fix a typo Co-authored-by: RCN <[email protected]>
1 parent 2077a25 commit 2d4fe95

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.gitlab-ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,20 @@ stable-test:
106106
- cargo +stable build --verbose --features="${FEATURES}" || exit 1
107107
- cargo +stable test --workspace --verbose --features="${FEATURES}"
108108

109+
stable-dist-test:
110+
<<: *docker-env
111+
stage: test
112+
variables:
113+
FEATURES: "dist-tests"
114+
DIST_EXEC_STRATEGY: "spawn"
115+
CACHEPOT_SANDBOX: "userns"
116+
CACHEPOT_LOG: "cachepot=trace"
117+
script:
118+
- uname -a
119+
# https://github.com/paritytech/ci_cd/issues/490#issuecomment-1171587793
120+
- mkdir /tmp/dummy_proc && mount -t proc proc /tmp/dummy_proc
121+
- cargo test --verbose --no-default-features --features="${FEATURES}" test_dist_ -- --test-threads 1
122+
109123
build:
110124
<<: *docker-env
111125
<<: *collect-artifacts

0 commit comments

Comments
 (0)