Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Run mobile checks when Flutter setup changes

Manav Rathicb229afa774e
diff --git a/.github/scripts/ci/paths.json b/.github/scripts/ci/paths.json
index ce252008d3..3a4fafd15a 100644
--- a/.github/scripts/ci/paths.json
+++ b/.github/scripts/ci/paths.json
@@ -51,6 +51,7 @@
"infra/staff/**"
],
"mobile-lint": [
+ ".github/actions/setup-flutter/**",
".github/workflows/mobile-lint.yml",
"mobile/**",
"rust/Cargo.lock",
@@ -66,6 +67,7 @@
"rust/tools/codegen/**"
],
"mobile-podfile-lock": [
+ ".github/actions/setup-flutter/**",
".github/workflows/mobile-podfile-lock.yml",
"apple/packages/EnteOnnxRuntime/EnteOnnxRuntime.podspec",
"mobile/**/*.podspec",
diff --git a/.github/scripts/ci/test.mjs b/.github/scripts/ci/test.mjs
index ccce9ceb43..a691f79584 100644
--- a/.github/scripts/ci/test.mjs
+++ b/.github/scripts/ci/test.mjs
@@ -16,7 +16,12 @@ test("docs changes do not wait for unrelated workflows", (t) => {
checkResult(results(selected));
});
-test("shared Rust changes select their consumers", (t) => {
+test("shared build inputs select their consumers", (t) => {
+ assert.deepEqual(select(t, [".github/actions/setup-flutter/action.yml"]), [
+ "mobile-lint",
+ "mobile-podfile-lock",
+ "repo-lint",
+ ]);
assert.deepEqual(select(t, ["rust/crates/core/src/lib.rs"]), [
"ensu-android-build",
"ensu-ios-build",