diff --git a/.gitea/workflows/validate.yml b/.gitea/workflows/validate.yml index 21f9822..b9f575f 100644 --- a/.gitea/workflows/validate.yml +++ b/.gitea/workflows/validate.yml @@ -36,6 +36,13 @@ jobs: steps: - uses: actions/checkout@v4 + # The opencv-python wheel links against libGL at import time, so cv2 + # cannot even be imported on the bare runner image. + - name: Install the OpenCV shared libraries + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends libgl1 libglib2.0-0 + - uses: astral-sh/setup-uv@v5 with: enable-cache: true