Update bitloops-platform-embeddings to version 0.1.5, modify gateway … #34
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: | |
| pull_request: | |
| jobs: | |
| test-local: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| cache: "pip" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e ".[dev]" | |
| - name: Compile source tree | |
| run: python -m compileall src tests scripts | |
| - name: Run test suite | |
| run: pytest | |
| - name: Smoke test CLI shape | |
| run: | | |
| bitloops-local-embeddings --help | |
| bitloops-local-embeddings describe --model bge-m3 | |
| bitloops-local-embeddings daemon --help | |
| test-platform: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Run platform runtime tests | |
| run: cargo test -p bitloops-platform-embeddings | |
| - name: Smoke test platform CLI shape | |
| run: cargo run -p bitloops-platform-embeddings -- --help |