Skip to content

Commit 6269a37

Browse files
committed
ci: sample native recurrent failures
1 parent 14b0b34 commit 6269a37

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/diagnose-recurrent-linux.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
include:
19-
- name: baseline
20-
install_debugger: false
21-
- name: baseline-gdb
22-
install_debugger: true
23-
name: ${{ matrix.name }}
18+
attempt: [1, 2, 3, 4, 5, 6, 7, 8]
19+
name: attempt-${{ matrix.attempt }}
2420
steps:
2521
- uses: actions/checkout@v6
2622
with:
@@ -44,9 +40,8 @@ jobs:
4440
run: ldd --version
4541

4642
- name: Install debugger without upgrading installed packages
47-
if: matrix.install_debugger
4843
run: |
49-
sudo apt-get install --yes --no-upgrade gdb
44+
sudo apt-get install --yes --no-install-recommends --no-upgrade gdb
5045
5146
- name: Show glibc after package installation
5247
run: ldd --version
@@ -58,11 +53,12 @@ jobs:
5853
python -m uv pip install -e '.[all]' --verbose
5954
6055
- name: Reproduce full test suite
56+
id: reproduce
6157
continue-on-error: true
6258
run: python -m pytest
6359

6460
- name: Capture full-suite backtrace
65-
if: matrix.install_debugger
61+
if: steps.reproduce.outcome == 'failure'
6662
continue-on-error: true
6763
run: |
6864
gdb --batch \

0 commit comments

Comments
 (0)