Browse Source

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.
master
Christian Decker 4 years ago
committed by Rusty Russell
parent
commit
1ea0dd6af2
  1. 7
      .github/workflows/ci.yaml

7
.github/workflows/ci.yaml

@ -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…
Cancel
Save