Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install pytest flask paho-mqtt opencv-python-headless numpy pandas Pillow matplotlib psutil
- name: Create runtime stubs
run: |
mkdir -p custom_algorithms
touch custom_algorithms/__init__.py
- name: Run tests
run: |
pytest tests/ -v --tb=short \
--ignore=tests/test_agent_engine.py \
--ignore=tests/test_agent_integration.py \
--ignore=tests/test_agent_networked.py \
--ignore=tests/test_agent_vision.py \
--ignore=tests/test_llm_provider.py \
--ignore=tests/test_tool_registry.py \
--ignore=tests/test_widget_manager.py \
--ignore=tests/test_custom_algorithms.py \
--ignore=tests/test_speed_actuation_integration.py \
--ignore=tests/test_greenongreen.py \
--ignore=tests/test_actuation.py \
--ignore=tests/test_model_manager.py \
--ignore=tests/test_mqtt_reconnect.py \
--ignore=tests/test_mqtt_state_sync.py \
--ignore=tests/test_networked_routes.py \
--ignore=tests/test_standalone_routes.py \
--ignore=tests/test_downloads.py
46296531dThis file is pinned to the selected release. Download the original to open it in your design tool.