mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-12-02 23:43:40 +08:00
Supply pinned OpenCV to custom pytest jobs
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"protected_inventory_sha256": "a1096aa44017b792f434780aa2f15d165f8832c38a67821b709aabaa1fac40d7", "schema_version": 1}
|
||||
{"protected_inventory_sha256": "3ffc3035e61b03a304cef5070c4d54badc19b61fccbcbd751852c428964e1df3", "schema_version": 1}
|
||||
|
||||
Reference in New Issue
Block a user