Skip to content

docs: README v2 with ecosystem positioning, fix CI pytest install #3

docs: README v2 with ecosystem positioning, fix CI pytest install

docs: README v2 with ecosystem positioning, fix CI pytest install #3

Workflow file for this run

# SLM Mesh — CI/CD Pipeline
# Runs tests, type checks, and publishes to npm + PyPI on release
# Copyright 2026 Qualixar (Varun Pratap Bhardwaj). MIT License.
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
name: Test (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Type check
run: npm run typecheck
- name: Run tests
run: npm test
- name: Run tests with coverage
run: npx vitest run --coverage --coverage.thresholds.lines=99 --coverage.thresholds.statements=99 --coverage.thresholds.functions=99 --coverage.thresholds.branches=90
test-python:
name: Test Python Client
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Python client and test deps
run: |
cd python
pip install -e .
pip install pytest
- name: Run Python tests
run: |
cd python
python -m pytest tests/ -v