mirror of
https://github.com/block/buzz.git
synced 2026-10-27 12:40:30 +00:00
chore: serialize mobile pre-push checks (#6322)
Serialize the mobile pre-push analysis and test commands into one lane, mirroring the existing `desktop-tauri-checks` pattern. The shared Flutter state under `mobile/` (`.dart_tool`, shader bundle, and `pubspec.lock`) must not be driven by parallel hook processes. The existing `mobile/**` path filter is unchanged; `mobile-check` now runs before `mobile-test` in the same lane. - Replace the parallel `mobile-check` and `mobile-test` commands with `mobile-checks`. - Keep the commands serial with `just mobile-check && just mobile-test`. Signed-off-by: Will Pfleger <pfleger.will@gmail.com> Co-authored-by: Alia <d32955ad69077062930cc46cfe2df30ca9aaf6f8e76422681265e9e9af704d78@buzz.block.builderlab.xyz>
This commit is contained in:
@@ -81,9 +81,8 @@ pre-push:
|
||||
# serially so parallel pre-push hooks do not contend for Cargo's lock.
|
||||
glob: ["desktop/src-tauri/**", "crates/**", "migrations/**", "schema/**", "Cargo.toml", "Cargo.lock", "rust-toolchain.toml", "deny.toml", "scripts/run-tests.sh", "Justfile"]
|
||||
run: just desktop-tauri-clippy && just desktop-tauri-test
|
||||
mobile-check:
|
||||
mobile-checks:
|
||||
# Run analysis and tests serially so parallel pre-push hooks do not
|
||||
# contend for shared Flutter state (.dart_tool, shader bundle).
|
||||
glob: ["mobile/**"]
|
||||
run: just mobile-check
|
||||
mobile-test:
|
||||
glob: ["mobile/**"]
|
||||
run: just mobile-test
|
||||
run: just mobile-check && just mobile-test
|
||||
|
||||
Reference in New Issue
Block a user