Skip to content

Commit 42960bd

Browse files
committed
chore: Change how Miri is invoked to eliminate false positives
1 parent dde8c1c commit 42960bd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/rust.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,11 @@ jobs:
4646
run: rustup +$NIGHTLY component add miri
4747

4848
- name: Run tests under Miri
49-
run: cargo +$NIGHTLY miri test
49+
run: cargo +$NIGHTLY miri test --workspace --exclude ilex
50+
51+
# Most of ilex's tests are extremely slow under Miri.
52+
# The LLVM syntax test alone takes 10 minutes or so on a GH runner.
53+
- name: Run some `ilex` tests under Miri
54+
run: |
55+
cargo +$NIGHTLY miri test -p ilex --lib
56+
cargo +$NIGHTLY miri test -p ilex --test greedy

0 commit comments

Comments
 (0)