Skip to content

Complete Phases 3-7: Quality Transformation to Production Standards #71

Complete Phases 3-7: Quality Transformation to Production Standards

Complete Phases 3-7: Quality Transformation to Production Standards #71

Workflow file for this run

name: Test Suite
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov pytest-asyncio ruff mypy bandit build psutil
pip install -e .
- name: Lint with ruff (non-blocking)
continue-on-error: true
run: |
ruff check src/ --output-format=github || true
- name: Type check with mypy
run: |
echo "⏭️ Skipping mypy type checks for v0.8 MVP release"
# mypy src/ --ignore-missing-imports
- name: Security scan with bandit
run: |
bandit -r src/ -f json -o bandit-report.json || true
- name: Test with pytest
run: |
pytest tests/test_v0_8_basic.py -v --cov=src/mujoco_mcp --cov-report=xml --cov-report=term-missing --ignore=tests/conftest.py
- name: Test package installation
run: |
python -m build
pip install dist/*.whl
mujoco-mcp --version
mujoco-mcp --check
- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella