Skip to content

Commit 8f040a5

Browse files
authored
ZJIT: Resurrect --seed to stabilize CI (ruby#14489)
1 parent a734c04 commit 8f040a5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/zjit-macos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
configure: '--enable-zjit=dev'
3737
run_opts: '--zjit-call-threshold=1'
3838
specopts: '-T --zjit-call-threshold=1'
39+
test_all_opts: '--seed=46450'
3940

4041
- test_task: 'zjit-check' # zjit-test + quick feedback of test_zjit.rb
4142
configure: '--enable-yjit=dev --enable-zjit'
@@ -117,7 +118,7 @@ jobs:
117118
TEST_BUNDLED_GEMS_ALLOW_FAILURES: ''
118119
SYNTAX_SUGGEST_TIMEOUT: '5'
119120
PRECHECK_BUNDLED_GEMS: 'no'
120-
TESTS: ${{ matrix.tests }}
121+
TESTS: ${{ matrix.test_all_opts }}
121122
continue-on-error: ${{ matrix.continue-on-test_task || false }}
122123

123124
- uses: ./.github/actions/slack

.github/workflows/zjit-ubuntu.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
configure: '--enable-zjit=dev'
5656
run_opts: '--zjit-call-threshold=1'
5757
specopts: '-T --zjit-call-threshold=1'
58+
test_all_opts: '--seed=39471'
5859

5960
- test_task: 'zjit-check' # zjit-test + quick feedback of test_zjit.rb
6061
configure: '--enable-yjit --enable-zjit=dev'
@@ -159,7 +160,7 @@ jobs:
159160
SYNTAX_SUGGEST_TIMEOUT: '5'
160161
ZJIT_BINDGEN_DIFF_OPTS: '--exit-code'
161162
LIBCLANG_PATH: ${{ matrix.libclang_path }}
162-
TESTS: ${{ matrix.tests }}
163+
TESTS: ${{ matrix.test_all_opts }}
163164
continue-on-error: ${{ matrix.continue-on-test_task || false }}
164165

165166
- uses: ./.github/actions/slack

0 commit comments

Comments
 (0)