Skip to content

Add MCP server and duration-based override system for batcontrol #422

Add MCP server and duration-based override system for batcontrol

Add MCP server and duration-based override system for batcontrol #422

Workflow file for this run

name: Python Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-cov pytest-asyncio
if [ -f pyproject.toml ]; then pip install -e .; fi
- name: Test with pytest
run: |
python -m pytest tests/ --cov=src/batcontrol --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
fail_ci_if_error: false