Skip to content

Commit 9c18092

Browse files
committed
fixup! ci: Run with rerunfailures rather than flaky
1 parent 782a0c1 commit 9c18092

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
RUST_PROFILE: release
1717
SLOW_MACHINE: 1
1818
CI_SERVER_URL: "http://35.239.136.52:3170"
19-
GLOBAL_PYTEST_OPTS: --reruns=5
19+
GLOBAL_PYTEST_OPTS: "--reruns=10 -vvv"
2020

2121
jobs:
2222
prebuild:
@@ -314,7 +314,7 @@ jobs:
314314
run: |
315315
env
316316
cat config.vars
317-
uv run eatmydata pytest tests/test_downgrade.py -vvv ${GLOBAL_PYTEST_OPTS} -n ${PYTEST_PAR} ${PYTEST_OPTS}
317+
uv run eatmydata pytest tests/test_downgrade.py ${GLOBAL_PYTEST_OPTS} -n ${PYTEST_PAR} ${PYTEST_OPTS}
318318
319319
integration:
320320
name: Test CLN ${{ matrix.name }}
@@ -492,7 +492,7 @@ jobs:
492492
SLOW_MACHINE: 1
493493
TEST_DEBUG: 1
494494
run: |
495-
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 }}
496496
497497
integration-sanitizers:
498498
name: Sanitizers Test CLN
@@ -558,7 +558,7 @@ jobs:
558558

559559
- name: Test
560560
run: |
561-
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 }}
562562
563563
update-docs-examples:
564564
name: Update examples in doc schemas (disabled temporarily!)
@@ -675,7 +675,7 @@ jobs:
675675
run: |
676676
env
677677
cat config.vars
678-
VALGRIND=0 uv run eatmydata pytest tests/ -vvv ${GLOBAL_PYTEST_OPTS} -n ${PYTEST_PAR} ${PYTEST_OPTS}
678+
VALGRIND=0 uv run eatmydata pytest tests/ ${GLOBAL_PYTEST_OPTS} -n ${PYTEST_PAR} ${PYTEST_OPTS}
679679
680680
check-flake:
681681
name: Check Nix Flake

0 commit comments

Comments
 (0)