diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ebef5b..2c6db46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,11 @@ jobs: runs-on: ubuntu-latest # The Forgejo runner cannot provision Python 3.11 via actions/setup-python # ("Version 3.11 was not found in the local cache"), so the job runs inside - # a python:3.11-slim container instead. - container: python:3.11-slim + # a container that already has Python 3.11. It must also ship Node and git: + # the runner executes JS actions (actions/checkout) by invoking `node` + # inside the job container, so a python-only image fails at checkout. + container: nikolaik/python-nodejs:python3.11-nodejs20 steps: - # The slim image ships no git; checkout needs it. - - name: Install git - run: apt-get update && apt-get install -y --no-install-recommends git - uses: actions/checkout@v4 # Everything the collected tests import at module level, WITHOUT the # heavy ML stack (torch/ultralytics/mediapipe/faster-whisper) — the