bump: version 3.0.0 → 3.0.1 #28
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-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| pip install ruff | |
| - name: Lint with ruff | |
| run: ruff check portal_mcp_server/ | |
| - name: Check package imports | |
| run: python -c "import portal_mcp_server; assert portal_mcp_server.main; print('import ok')" | |
| - name: Verify CLI entrypoint | |
| run: portal-mcp-server --help | |
| - name: Run tests | |
| run: | | |
| if [ -d tests ] && [ "$(ls -A tests)" ]; then | |
| pytest tests/ -v --tb=short | |
| else | |
| echo "No tests found — skipping." | |
| fi |