Skip to content

Commit da5a44e

Browse files
authored
Pin rustc nightly to nightly-2025-07-18 for miri tests (#5999)
* Pin rustc nightly to `nightly-2025-07-18` for miri tests * Fix indent * Set the miri rustc channel via env var
2 parents bd8e557 + 95880ce commit da5a44e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,18 +348,20 @@ jobs:
348348
name: Run tests under miri
349349
runs-on: ubuntu-latest
350350
timeout-minutes: 30
351+
env:
352+
RUSTUP_TOOLCHAIN: nightly-2025-07-18 # TODO: Set to "nightly" once https://github.com/rust-lang/rust/issues/144168 is fixed
351353
steps:
352354
- uses: actions/checkout@v4
353355
- uses: dtolnay/rust-toolchain@master
354356
with:
355-
toolchain: nightly
357+
toolchain: ${{ env.RUSTUP_TOOLCHAIN }}
356358
components: miri
357359

358360
- uses: Swatinem/rust-cache@v2
359361
- name: Run tests under miri
360362
# miri-ignore-leaks because the type-object circular reference means that there will always be
361363
# a memory leak, at least until we have proper cyclic gc
362-
run: MIRIFLAGS='-Zmiri-ignore-leaks' cargo +nightly miri test -p rustpython-vm -- miri_test
364+
run: MIRIFLAGS='-Zmiri-ignore-leaks' cargo +${{ env.RUSTUP_TOOLCHAIN }} miri test -p rustpython-vm -- miri_test
363365

364366
wasm:
365367
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:ci') }}

0 commit comments

Comments
 (0)