Skip to content

ENT-1677: Apply RTSPS TLS options to the OpenCV capture open #7985

ENT-1677: Apply RTSPS TLS options to the OpenCV capture open

ENT-1677: Apply RTSPS TLS options to the OpenCV capture open #7985

name: UNIT TESTS - inference-models
permissions:
contents: read
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
unit-tests-inference-models:
runs-on:
labels: depot-ubuntu-22.04-4
group: public-depot
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v6
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
check-latest: true
- name: 📦 Install dependencies
working-directory: inference_models
run: |
python -m pip install --upgrade pip
python -m pip install uv
python -m uv venv
python -m uv pip install -e .[torch-cpu,test] --python .venv
- name: 🧪 Unit Tests
timeout-minutes: 30
working-directory: inference_models
run: |
source .venv/bin/activate
python -m pytest -n auto -m "not gpu_only" tests/unit_tests