From a8cebd024ba1e1a85e350c38ad1b33375094ddc0 Mon Sep 17 00:00:00 2001 From: MaxsTechReview Date: Fri, 30 Oct 2026 15:20:30 -0400 Subject: [PATCH] fix(ci): required-check test matches the gate's !cancelled() condition (#1864) fix(ci): the required-check test expects the gate's !cancelled() condition --- tools/tests/test_ci_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tests/test_ci_checks.py b/tools/tests/test_ci_checks.py index b7c29fceb..52c1607aa 100644 --- a/tools/tests/test_ci_checks.py +++ b/tools/tests/test_ci_checks.py @@ -82,7 +82,7 @@ class CiChecksTest(unittest.TestCase): gate = jobs['checks'] self.assertEqual(gate['name'], 'Compile and test APK') self.assertEqual(set(gate['needs']), {'build', 'python-tests'}) - self.assertIn('always()', gate['if']) + self.assertIn('!cancelled()', gate['if']) for build, python in itertools.product(('success', 'failure', 'cancelled', 'skipped'), repeat=2): with self.subTest(build=build, python=python): result = subprocess.run(