Skip to content

Commit 857c3af

Browse files
committed
ci: Allow retrying Rust tests, when also running visual tests, temporarily
Because of a crash in the Ubuntu 22.04 graphics drivers.
1 parent 8215ff6 commit 857c3af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test_rust.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ jobs:
9494

9595
- name: Run tests with image tests
9696
if: runner.os != 'macOS'
97-
run: cargo nextest run --workspace --locked --no-fail-fast -j 4 --features imgtests,lzma,jpegxr
97+
# TODO: Disallow retries in general once we can allow only after SIGABRT.
98+
# See: https://github.com/nextest-rs/nextest/issues/1172
99+
run: cargo nextest run --workspace --locked --no-fail-fast --retries 2 -j 4 --features imgtests,lzma,jpegxr
98100
env:
99101
XDG_RUNTIME_DIR: '' # dummy value, just to silence warnings about it missing
100102

0 commit comments

Comments
 (0)