ci: prevent multithreading for subplot tests
- There is only one virtual card, accessing it from multiple programs in parallel leads to undefined behavior.
This commit is contained in:
parent
09c554affd
commit
8c9d792c42
2 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ subplot:
|
|||
script:
|
||||
# make sure a virtual card is available, so that the subplot tests are
|
||||
# generated
|
||||
- CARD_BASED_TESTS=true cargo test
|
||||
- CARD_BASED_TESTS=true cargo test -- --test-threads 1
|
||||
cache:
|
||||
# inherit all general cache settings
|
||||
<<: *general_cache_config
|
||||
|
|
|
@ -23,4 +23,4 @@ su - -c "sh /home/jcardsim/run-card.sh >/dev/null" jcardsim &&
|
|||
cd /src/tools &&
|
||||
CARGO_TARGET_DIR=/cargo/ cargo update &&
|
||||
CARGO_TARGET_DIR=/cargo/ cargo build -vv &&
|
||||
CARGO_TARGET_DIR=/cargo/ cargo test'
|
||||
CARGO_TARGET_DIR=/cargo/ cargo test -- --test-threads 1'
|
||||
|
|
Loading…
Reference in a new issue