chore: release v0.4.0 #27
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: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| # Install pinned ruff via the [dev] extra so local + CI agree on the | |
| # version (UP045 ignore needs ruff >= 0.9). | |
| - run: pip install -e ".[dev]" | |
| - run: ruff check src/ tests/ | |
| typecheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - run: pip install -e ".[all,dev]" | |
| - run: mypy src/mcp_pcb_emcopilot/ --ignore-missing-imports | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: pip install -e ".[all,dev]" | |
| - run: pytest tests/ -v --tb=short | |
| - run: pytest tests/ --cov=mcp_pcb_emcopilot --cov-report=term-missing --cov-fail-under=50 |