feat!: redesign CLI interface #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| # Basic test on Ubuntu with Python 3.11 only (free, fast) | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" || pip install -e . | |
| - name: Lint with ruff (if available) | |
| run: | | |
| pip install ruff || true | |
| ruff check git_quick tests || echo "Ruff not configured, skipping" | |
| continue-on-error: true | |
| - name: Run basic tests | |
| run: | | |
| python -m pytest tests/ || echo "No tests found, skipping" | |
| continue-on-error: true | |
| # Optional: Multi-platform testing (uncomment when you have billing sorted) | |
| # test-multiplatform: | |
| # runs-on: ${{ matrix.os }} | |
| # strategy: | |
| # matrix: | |
| # os: [ubuntu-latest, macos-latest, windows-latest] | |
| # python-version: ["3.9", "3.10", "3.11"] | |
| # steps: | |
| # - uses: actions/checkout@v3 | |
| # - name: Set up Python | |
| # uses: actions/setup-python@v4 | |
| # with: | |
| # python-version: ${{ matrix.python-version }} | |
| # - name: Install and test | |
| # run: | | |
| # pip install -e . | |
| # pytest tests/ |