Skip to content

Commit d7030ef

Browse files
committed
ZJIT: run zjit-test-all on CI with seed
ZJIT is still unstable and can crash intermittently running with Ruby tests. Adding a seed to avoid flakiness while we work on stability.
1 parent 830ab2c commit d7030ef

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/zjit-macos.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040

4141
- test_task: 'zjit-test-all'
4242
configure: '--enable-zjit=dev'
43+
testopts: '--seed=11831'
4344

4445
- test_task: 'btest'
4546
configure: '--enable-zjit=dev'
@@ -48,6 +49,7 @@ jobs:
4849
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
4950
RUN_OPTS: ${{ matrix.zjit_opts }}
5051
SPECOPTS: ${{ matrix.specopts }}
52+
TESTOPTS: ${{ matrix.testopts }}
5153

5254
runs-on: macos-14
5355

@@ -146,6 +148,7 @@ jobs:
146148
make -s ${{ matrix.test_task }} ${TESTS:+TESTS="$TESTS"}
147149
RUN_OPTS="$RUN_OPTS"
148150
SPECOPTS="$SPECOPTS"
151+
TESTOPTS="$TESTOPTS"
149152
timeout-minutes: 60
150153
env:
151154
RUBY_TESTOPTS: '-q --tty=no'

.github/workflows/zjit-ubuntu.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242

4343
- test_task: 'zjit-test-all'
4444
configure: '--enable-zjit=dev'
45+
testopts: '--seed=11831'
4546

4647
- test_task: 'btest'
4748
configure: '--enable-zjit=dev'
@@ -51,6 +52,7 @@ jobs:
5152
RUN_OPTS: ${{ matrix.zjit_opts }}
5253
YJIT_BENCH_OPTS: ${{ matrix.yjit_bench_opts }}
5354
SPECOPTS: ${{ matrix.specopts }}
55+
TESTOPTS: ${{ matrix.testopts }}
5456
RUBY_DEBUG: ci
5557
BUNDLE_JOBS: 8 # for yjit-bench
5658
RUST_BACKTRACE: 1
@@ -177,6 +179,7 @@ jobs:
177179
ZJIT_BINDGEN_DIFF_OPTS: '--exit-code'
178180
LIBCLANG_PATH: ${{ matrix.libclang_path }}
179181
TESTS: ${{ matrix.tests }}
182+
TESTOPTS: ${{ matrix.testopts }}
180183
continue-on-error: ${{ matrix.continue-on-test_task || false }}
181184
if: ${{ matrix.test_task != 'btest' }}
182185

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy