mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
gci: Add pytest.ini in order to randomize the groups
We have a couple of very heavy tests bunched together, randomization could potentially lessen the peak load.
This commit is contained in:
parent
6119f1f5fb
commit
1ea0dd6af2
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
@ -183,6 +183,13 @@ jobs:
|
||||
./configure CC="$CC"
|
||||
cat config.vars
|
||||
|
||||
cat << 'EOF' > pytest.ini
|
||||
[pytest]
|
||||
addopts=-p no:logging --color=yes --timeout=1800 --timeout-method=thread --test-group-random-seed=42
|
||||
markers =
|
||||
slow_test: marks tests as slow (deselect with '-m "not slow_test"')
|
||||
EOF
|
||||
|
||||
if [ "$TARGET_HOST" == "arm-linux-gnueabihf" ] || [ "$TARGET_HOST" == "aarch64-linux-gnu" ]
|
||||
then
|
||||
export QEMU_LD_PREFIX=/usr/"$TARGET_HOST"/
|
||||
|
Loading…
Reference in New Issue
Block a user