Repository navigation
v0.1.3: official MCP Registry listing + Claude Code plugin #17
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: | |
| jobs: | |
| # Core deps only: the library must import and its offline tests must pass | |
| # without any optional extra - graceful degradation is a feature contract. | |
| test-core: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - run: pip install -e .[dev] | |
| - run: ruff check webfetch/ tests/ | |
| - run: python -c "import webfetch" | |
| - run: pytest tests/ -q | |
| # Everything installed (torch included) - same tests, no degradation paths. | |
| test-all-extras: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - run: pip install -e .[all,dev] | |
| - run: pytest tests/ -q | |
| - run: python evals/test_metrics.py |