From 2982e474abb4429a803790ddbdb35760cd74c1f5 Mon Sep 17 00:00:00 2001 From: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> Date: Sat, 7 Nov 2026 20:23:37 -0500 Subject: [PATCH] ci: run Python and native regression tests on the workstation runner when idle --- .github/workflows/build.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3f5295369..e66bb49a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -785,11 +785,18 @@ jobs: cd app/src/main/rust/stores cargo test --locked 2>&1 | tail -60 - python-tests: - name: Python and native regression tests + python-runner: needs: source if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }} - runs-on: ubuntu-24.04 + 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] + if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }} + runs-on: ${{ fromJSON(needs.python-runner.outputs.labels) }} timeout-minutes: 15 steps: - uses: actions/checkout@v4