Skip to content

fix: add PyPI keywords for discoverability #242

fix: add PyPI keywords for discoverability

fix: add PyPI keywords for discoverability #242

Workflow file for this run

name: SDK Tests
on:
push:
branches: [ main, master, develop ]
pull_request:
branches: [ main, master, develop ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest pytest-cov pytest-asyncio
- name: Run tests
run: |
pytest tests/ -v --tb=short || echo "⚠️ No tests yet - this is expected for MVP"
- name: Lint with ruff (if available)
run: |
pip install ruff || true
ruff check kalibr/ || echo "⚠️ Ruff not configured - skipping"
continue-on-error: true
- name: Check imports
run: |
python -c "import kalibr; print(f'✅ Kalibr SDK v{kalibr.__version__} imported successfully')"
- name: Validate examples
run: |
python -m py_compile examples/*.py
echo "✅ All example files are valid Python"
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build package
run: |
python -m build
echo "✅ Package built successfully"
- name: Check package
run: |
twine check dist/*
echo "✅ Package is valid for PyPI"