Skip to content

Commit bf434a8

Browse files
committed
[DO NOT MERGE] loop on ubuntu tests in ci
1 parent facebaf commit bf434a8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,18 @@ jobs:
221221
run: cargo nextest run --no-run ${{ matrix.test-args }}
222222

223223
- name: Run tests
224+
if: matrix.os != 'ubuntu-24.04'
224225
run: cargo nextest run --profile ci ${{ matrix.test-args }}
225226

227+
- name: Run tests (loop for Linux)
228+
if: matrix.os == 'ubuntu-24.04'
229+
shell: bash
230+
run: |
231+
for i in {1..100}; do
232+
echo "Run #$i"
233+
cargo nextest run --profile ci ${{ matrix.test-args }} || exit 1
234+
done
235+
226236
- name: Run doc tests
227237
run: cargo test --doc ${{ matrix.test-args }}
228238

0 commit comments

Comments
 (0)