diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 730cc2dfba..57b1a5a29c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -802,18 +802,11 @@ jobs: timeout-minutes: 10 run: cargo test --locked --manifest-path tools/ubisoft-launcher/Cargo.toml - python-runner: - needs: source - if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }} - uses: ./.github/workflows/pick-runner.yml - secrets: - RUNNER_STATUS_TOKEN: ${{ secrets.RUNNER_STATUS_TOKEN }} - python-tests: name: Python and native regression tests - needs: [source, python-runner] + needs: source if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }} - runs-on: ${{ fromJSON(needs.python-runner.outputs.labels) }} + runs-on: ubuntu-24.04 timeout-minutes: 15 steps: - uses: actions/checkout@v4 diff --git a/tools/tests/test_ci_checks.py b/tools/tests/test_ci_checks.py index d6482e8491..76eeff1fde 100644 --- a/tools/tests/test_ci_checks.py +++ b/tools/tests/test_ci_checks.py @@ -48,9 +48,10 @@ 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', 'python-runner', 'components-runner'): + for name in ('xbox', 'components-runner'): self.assertEqual(jobs[name]['needs'], 'source') - self.assertEqual(set(jobs['python-tests']['needs']), {'source', 'python-runner'}) + self.assertEqual(jobs['python-tests']['needs'], 'source') + self.assertEqual(jobs['python-tests']['runs-on'], 'ubuntu-24.04') node = [step for step in jobs['python-tests']['steps'] if step.get('uses', '').startswith('actions/setup-node@')] self.assertEqual(len(node), 1) self.assertEqual(set(jobs['components']['needs']), {'source', 'components-runner'})