Update README.md to enhance project description, features, installati… #1
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 ] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| - name: Format check with Black | |
| run: black --check src/ tests/ | |
| - name: Lint with Ruff | |
| run: ruff src/ tests/ | |
| - name: Type check with mypy | |
| run: mypy src/ | |
| - name: Run tests | |
| run: python tests/test_server.py | |
| - name: Test building package | |
| run: python -m build | |
| docker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Docker image | |
| run: docker build -t mcp-python-test . | |
| - name: Build Alpine Docker image | |
| run: docker build -f Dockerfile.alpine -t mcp-python-test:alpine . | |
| - name: Build minimal Docker image | |
| run: docker build -f Dockerfile.minimal -t mcp-python-test:minimal . | |
| - name: Test Docker image | |
| run: | | |
| docker run --rm mcp-python-test python -c "import pluggedin_random_number_generator_mcp" |