name: CI on: push: branches: [ main ] jobs: test: runs-on: linux steps: - name: Debug run: | echo "Runner: $OSTYPE" id pwd - name: Install Python run: | if command -v python3 &> /dev/null; then echo "Python3 found" python3 --version else echo "Python3 not found, installing..." apt-get update -qq apt-get install -y -qq python3 python3-pip > /dev/null 2>&1 python3 --version fi - name: Install deps run: | pip3 install -e ".[dev]" --quiet - name: Lint run: | ruff check src/ - name: Type check run: | mypy src/ - name: Test run: | pytest tests/ -v