test: add pnpm script to run Miri

This commit is contained in:
naskya 2024-06-13 05:28:51 +09:00
parent 1655770495
commit 1de0b5d565
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -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 --",