Add dependency analysis to CLI #577
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] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - uses: astral-sh/setup-uv@v6 | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Lint and Type Check | |
| run: | | |
| # Run mypy type checking | |
| uv run mypy src/kit | |
| # Run ruff linter | |
| uv run ruff check . | |
| # Run ruff formatter check (non-modifying) | |
| uv run ruff format --check . | |
| - name: Run Tests | |
| run: | | |
| # Run tests via scripts/test.sh | |
| uv run scripts/test.sh -v |