1616 RUST_PROFILE : release
1717 SLOW_MACHINE : 1
1818 CI_SERVER_URL : " http://35.239.136.52:3170"
19+ GLOBAL_PYTEST_OPTS : " --reruns=10 -vvv"
1920
2021jobs :
2122 prebuild :
@@ -167,7 +168,7 @@ jobs:
167168 # on the integration tests), so run them with `valgrind`
168169 name : Run unit tests
169170 runs-on : ubuntu-22.04
170- timeout-minutes : 30
171+ timeout-minutes : 60
171172 env :
172173 BOLTDIR : bolts
173174 needs :
@@ -313,7 +314,7 @@ jobs:
313314 run : |
314315 env
315316 cat config.vars
316- uv run eatmydata pytest tests/test_downgrade.py -vvv -n ${PYTEST_PAR} ${PYTEST_OPTS}
317+ uv run eatmydata pytest tests/test_downgrade.py ${GLOBAL_PYTEST_OPTS} -n ${PYTEST_PAR} ${PYTEST_OPTS}
317318
318319 integration :
319320 name : Test CLN ${{ matrix.name }}
@@ -421,7 +422,7 @@ jobs:
421422 run : |
422423 env
423424 cat config.vars
424- VALGRIND=0 uv run eatmydata pytest tests/ -vvv -n ${PYTEST_PAR} ${PYTEST_OPTS}
425+ VALGRIND=0 uv run eatmydata pytest tests/ -vvv ${GLOBAL_PYTEST_OPTS} -n ${PYTEST_PAR} ${PYTEST_OPTS}
425426
426427 integration-valgrind :
427428 name : Valgrind Test CLN ${{ matrix.name }}
@@ -430,7 +431,7 @@ jobs:
430431 env :
431432 RUST_PROFILE : release # Has to match the one in the compile step
432433 CFG : compile-gcc
433- PYTEST_OPTS : --test-group-random-seed=42 --timeout=1800 --durations=10
434+ PYTEST_OPTS : --test-group-random-seed=42 --timeout=1800 --durations=10 --reruns=10
434435 needs :
435436 - compile
436437 strategy :
@@ -491,7 +492,7 @@ jobs:
491492 SLOW_MACHINE : 1
492493 TEST_DEBUG : 1
493494 run : |
494- VALGRIND=1 uv run eatmydata pytest tests/ -vvv -n 3 ${PYTEST_OPTS} ${{ matrix.PYTEST_OPTS }}
495+ VALGRIND=1 uv run eatmydata pytest tests/ ${GLOBAL_PYTEST_OPTS} -n 3 ${PYTEST_OPTS} ${{ matrix.PYTEST_OPTS }}
495496
496497 integration-sanitizers :
497498 name : Sanitizers Test CLN
@@ -501,7 +502,7 @@ jobs:
501502 RUST_PROFILE : release
502503 SLOW_MACHINE : 1
503504 TEST_DEBUG : 1
504- PYTEST_OPTS : --test-group-random-seed=42 --timeout=1800 --durations=10
505+ PYTEST_OPTS : --test-group-random-seed=42 --timeout=1800 --durations=10 --reruns=10
505506 needs :
506507 - compile
507508 strategy :
@@ -557,7 +558,7 @@ jobs:
557558
558559 - name : Test
559560 run : |
560- uv run eatmydata pytest tests/ -vvv -n 2 ${PYTEST_OPTS} ${{ matrix.PYTEST_OPTS }}
561+ uv run eatmydata pytest tests/ ${GLOBAL_PYTEST_OPTS} -n 2 ${PYTEST_OPTS} ${{ matrix.PYTEST_OPTS }}
561562
562563 update-docs-examples :
563564 name : Update examples in doc schemas (disabled temporarily!)
@@ -674,7 +675,7 @@ jobs:
674675 run : |
675676 env
676677 cat config.vars
677- VALGRIND=0 uv run eatmydata pytest tests/ -vvv -n ${PYTEST_PAR} ${PYTEST_OPTS}
678+ VALGRIND=0 uv run eatmydata pytest tests/ ${GLOBAL_PYTEST_OPTS} -n ${PYTEST_PAR} ${PYTEST_OPTS}
678679
679680 check-flake :
680681 name : Check Nix Flake
0 commit comments