From 9ab74290eee20b10223d06946d934967eaf7b9d5 Mon Sep 17 00:00:00 2001 From: tegwick Date: Mon, 19 Oct 2026 10:57:38 +0200 Subject: [PATCH] Install the synthetic suite with the runner's Node and pip. Assistant: grok Assistant-Session: 01a1531b-6698-7732-8587-f28ea604bcdf --- .forgejo/workflows/synthetic.yaml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.forgejo/workflows/synthetic.yaml b/.forgejo/workflows/synthetic.yaml index a90ec0a..2ad9839 100644 --- a/.forgejo/workflows/synthetic.yaml +++ b/.forgejo/workflows/synthetic.yaml @@ -1,4 +1,5 @@ # Public synthetic suite. Do not fetch the OnCo corpus or its data license. +# The runner image already has Node. setup-python stalls while downloading a toolchain, so Python packages are installed with pip. name: synthetic on: @@ -14,16 +15,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Python - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - name: Node - uses: actions/setup-node@v4 - with: - node-version: "22" - name: Python dependencies - run: python3 -m pip install -r requirements.txt + run: | + apt-get update + apt-get install -y python3-pip + python3 -m pip install --break-system-packages -r requirements.txt - name: UI dependencies working-directory: ui run: npm ci