Typed decision/classification service with an in-process gte-small ONNX embedding engine and lexical fallback, JS/Python SDKs, adapters, and the otsone model family. Apache-2.0 (sub-packages keep their MIT licenses). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
693 B
YAML
32 lines
693 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: macos-26
|
|
timeout-minutes: 15
|
|
env:
|
|
LAYA_MLX_TEST_DEVICE: cpu
|
|
TOKENIZERS_PARALLELISM: "false"
|
|
USE_TF: "0"
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
repository: NandhaKishorM/laya
|
|
ref: 573e5b62696ba441230cd6be71d593331b5d23af
|
|
path: .upstream
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
- run: python -m pip install -e '.[dev,reference,demo]'
|
|
- run: ruff check . && ruff format --check .
|
|
- run: pytest -q
|
|
- run: python -m build
|