docs(readme): expand user-facing how-tos for CLI usage #4
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] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: pytest + mypy + ruff | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Set up Python 3.13 | |
| run: uv python install 3.13 | |
| - name: Sync dependencies | |
| run: uv sync --extra dev --frozen | |
| - name: Lint (ruff check) | |
| run: uv run ruff check lucid/ tests/ | |
| - name: Format check (ruff format) | |
| run: uv run ruff format --check lucid/ tests/ | |
| - name: Type check (mypy strict) | |
| run: uv run mypy lucid/ --strict | |
| - name: Tests (pytest) | |
| run: uv run pytest -q |