Skip to content

Commit 7696789

Browse files
committed
fix(ci): run mobile recipe regressions for tooling changes
Signed-off-by: Tom Brow <[email protected]>
1 parent 503f9b1 commit 7696789

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ jobs:
8888
- 'pnpm-lock.yaml'
8989
mobile:
9090
- 'mobile/**'
91+
- 'Justfile'
92+
- 'scripts/test-mobile-gateway-recipes.sh'
9193
- 'scripts/mobile-release.sh'
9294
- 'scripts/mobile-worktree-overrides.sh'
9395
- 'scripts/mobile-worktree-clean.sh'

‎lefthook.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,5 @@ pre-push:
142142
# Run analysis and tests serially so parallel pre-push hooks do not
143143
# contend for shared Flutter state (.dart_tool, shader bundle).
144144
files: git diff --name-only origin/main...HEAD
145-
glob: ["mobile/**"]
145+
glob: ["mobile/**", "Justfile", "scripts/test-mobile-gateway-recipes.sh"]
146146
run: ./scripts/without-git-env.sh sh -c 'just mobile-check && just mobile-test'

‎scripts/ci-selection.test.mjs‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,11 @@ const scenarios = [
218218
],
219219
["mobile lockfile", ["mobile/pubspec.lock"], ["mobile"]],
220220
["mobile release script", ["scripts/mobile-release.sh"], ["mobile"]],
221+
[
222+
"mobile gateway recipe tests",
223+
["scripts/test-mobile-gateway-recipes.sh"],
224+
["mobile"],
225+
],
221226
["desktop", ["desktop/src/main.tsx"], ["desktop"]],
222227
["Tauri", ["desktop/src-tauri/src/main.rs"], ["desktop", "desktop-rust"]],
223228
["relay", ["crates/buzz-relay/src/main.rs"], ["rust"]],
@@ -232,7 +237,7 @@ const scenarios = [
232237
[".github/workflows/_ci-desktop.yml"],
233238
["desktop", "mobile", "rust"],
234239
],
235-
["Justfile", ["Justfile"], ["desktop", "rust"]],
240+
["Justfile", ["Justfile"], ["desktop", "mobile", "rust"]],
236241
["CI apt retry", ["scripts/ci-apt-retry.sh"], ["desktop", "rust"]],
237242
["integration services", ["docker-compose.yml"], ["rust"]],
238243
["CI integration images", ["docker-compose.ci.yml"], ["rust"]],

0 commit comments

Comments
 (0)