test: add pnpm script to run Miri
This commit is contained in:
parent
1655770495
commit
1de0b5d565
1 changed files with 2 additions and 1 deletions
|
@ -26,9 +26,10 @@
|
|||
"lint:rs": "cargo clippy --fix --allow-dirty --allow-staged && cargo fmt --all --",
|
||||
"debug": "pnpm run build:debug && pnpm run start",
|
||||
"mocha": "pnpm --filter backend run mocha",
|
||||
"test": "pnpm run test:ts && pnpm run test:rs",
|
||||
"test": "pnpm run test:rs && pnpm run test:rs:miri && pnpm run test:ts",
|
||||
"test:ts": "pnpm run mocha",
|
||||
"test:rs": "cargo test --doc && cargo nextest run",
|
||||
"test:rs:miri": "MIRIFLAGS='-Zmiri-disable-isolation' cargo +nightly miri nextest run -j$(nproc --all)",
|
||||
"format": "pnpm run format:ts; pnpm run format:rs",
|
||||
"format:ts": "pnpm -r --parallel run format",
|
||||
"format:rs": "cargo fmt --all --",
|
||||
|
|
Loading…
Reference in a new issue