ci: run compile jobs on the org workstation runner when it is idle (#2234)

* ci: run compile jobs on the org workstation runner when it is idle

* ci: pick the compile runner right before each heavy job

* ci: cover the runner picks in the job dependency test
This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-11-07 15:00:39 -05:00
1 parent e5434117f2
commit 041c3b1b55
3 files changed
+61 -7

No files matched your search

+4 -2
View File
@@ -48,9 +48,11 @@ class CiChecksTest(unittest.TestCase):
def test_independent_jobs_wait_only_for_the_pinned_source(self):
jobs = yaml.safe_load((ROOT / '.github/workflows/build.yml').read_text())['jobs']
for name in ('xbox', 'components', 'python-tests'):
for name in ('xbox', 'python-tests', 'components-runner'):
self.assertEqual(jobs[name]['needs'], 'source')
self.assertEqual(set(jobs['build']['needs']), {'source', 'components', 'xbox'})
self.assertEqual(set(jobs['components']['needs']), {'source', 'components-runner'})
self.assertEqual(jobs['build-runner']['needs'], ['components'])
self.assertEqual(set(jobs['build']['needs']), {'source', 'components', 'xbox', 'build-runner'})
def test_dependency_update_errors_block_installation(self):
with tempfile.TemporaryDirectory() as directory: