docs: position quorabust as semantic matching service #36
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, develop] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - name: Install | |
| run: python -m pip install --upgrade "pip>=26" && pip install -e ".[dev]" | |
| - name: Ruff | |
| run: ruff check src tests | |
| - name: Mypy | |
| run: mypy src/quorabust | |
| - name: Pytest | |
| run: pytest -q --cov=quorabust --cov-report=term-missing --cov-fail-under=70 | |
| - name: CLI | |
| run: quorabust-train --help | |
| - name: Serve CLI | |
| run: quorabust-serve --help | |
| - name: Report CLI | |
| run: quorabust-report --help | |
| - name: Smoke model report | |
| run: | | |
| quorabust-train \ | |
| --csv examples/smoke_pairs.csv \ | |
| --out /tmp/quorabust-smoke.pkl \ | |
| --eval-fraction 0 \ | |
| --seed 7 | |
| quorabust-report \ | |
| --model /tmp/quorabust-smoke.pkl \ | |
| --artifact-label quorabust-smoke.pkl \ | |
| --eval-csv examples/smoke_pairs.csv \ | |
| --out /tmp/quorabust-smoke-model-card.md | |
| quorabust-report \ | |
| --model /tmp/quorabust-smoke.pkl \ | |
| --artifact-label quorabust-smoke.pkl \ | |
| --eval-csv examples/smoke_pairs.csv \ | |
| --format json \ | |
| --out /tmp/quorabust-smoke-model-card.json | |
| test -s /tmp/quorabust-smoke-model-card.md | |
| test -s /tmp/quorabust-smoke-model-card.json |