This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/main by this push:
     new f5365c343a Use nextest to run Miri in CI (#9629)
f5365c343a is described below

commit f5365c343a576e0b7e48ef69897c53326e9d5539
Author: Adam Gutglick <[email protected]>
AuthorDate: Wed Apr 1 21:58:50 2026 +0100

    Use nextest to run Miri in CI (#9629)
    
    # Which issue does this PR close?
    
    - Closes #NNN.
    
    # Rationale for this change
    
    Miri in CI is VERY slow (around 2.5 hours), but the github runners
    actually have 4 vCPUs and some memory, so using nextest can give us some
    speedup.
    
    # What changes are included in this PR?
    
    Install nextest in CI and then use it to run Miri
    
    # Are these changes tested?
    
    tested the script locally
    
    # Are there any user-facing changes?
    
    No
---
 .github/workflows/miri.sh   | 11 +++++------
 .github/workflows/miri.yaml |  3 +++
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/miri.sh b/.github/workflows/miri.sh
index 86be2100ee..317b2db18d 100755
--- a/.github/workflows/miri.sh
+++ b/.github/workflows/miri.sh
@@ -12,9 +12,8 @@ cargo miri setup
 cargo clean
 
 echo "Starting Arrow MIRI run..."
-cargo miri test -p arrow-buffer
-cargo miri test -p arrow-data --features ffi
-cargo miri test -p arrow-schema --features ffi
-cargo miri test -p arrow-ord
-cargo miri test -p arrow-array
-cargo miri test -p arrow-arith
\ No newline at end of file
+cargo miri nextest run \
+    -p arrow-buffer -p arrow-data \
+    -p arrow-schema -p arrow-ord \
+    -p arrow-array -p arrow-arith \
+    --features ffi --no-fail-fast
\ No newline at end of file
diff --git a/.github/workflows/miri.yaml b/.github/workflows/miri.yaml
index f7269f5352..bf5b63027b 100644
--- a/.github/workflows/miri.yaml
+++ b/.github/workflows/miri.yaml
@@ -55,6 +55,9 @@ jobs:
           rustup toolchain install nightly --component miri
           rustup override set nightly
           cargo miri setup
+      - name: Set up nextest
+        run: |
+          cargo install cargo-nextest --version 0.9.132 --locked
       - name: Run Miri Checks
         env:
           RUST_BACKTRACE: full

Reply via email to