diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d3c6d6d89b..90889b3bca 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -343,6 +343,11 @@ jobs: run: | uv pip install --python .venv/bin/python --only-binary av av==19.0.1 .venv/bin/python -c "import av; assert 'libx264' in av.codecs_available" + - name: Provide pinned OpenCV DNN for vision contract tests + if: ${{ !cancelled() && steps.build.outcome == 'success' }} + run: | + uv pip install --python .venv/bin/python --no-deps --only-binary :all: opencv-python-headless==4.11.0.86 + .venv/bin/python -c "import cv2; assert cv2.__version__ == '4.11.0'; assert callable(cv2.dnn.readNetFromONNX); assert callable(cv2.dnn.NMSBoxes)" - name: Provide Mesa software graphics for pixel-level tests if: ${{ !cancelled() && steps.build.outcome == 'success' }} run: sudo apt-get update && sudo apt-get install -y libegl1 libgles-dev libgl1-mesa-dri diff --git a/prebuilt.json b/prebuilt.json index 23688587b3..8b953a57c7 100644 --- a/prebuilt.json +++ b/prebuilt.json @@ -1 +1 @@ -{"protected_inventory_sha256": "a1096aa44017b792f434780aa2f15d165f8832c38a67821b709aabaa1fac40d7", "schema_version": 1} +{"protected_inventory_sha256": "3ffc3035e61b03a304cef5070c4d54badc19b61fccbcbd751852c428964e1df3", "schema_version": 1}