fix(ci): required-check test matches the gate's !cancelled() condition (#1864)

fix(ci): the required-check test expects the gate's !cancelled() condition
This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-10-30 15:20:30 -04:00
1 parent 7c49eef79f
commit a8cebd024b
1 file changed
+1 -1
+1 -1
View File
@@ -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(