Skip to content

Fix: replace NUL byte separators in stableId hash input with a printa… #22

Fix: replace NUL byte separators in stableId hash input with a printa…

Fix: replace NUL byte separators in stableId hash input with a printa… #22

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
jobs:
node:
name: Node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: package-lock.json
- run: npm ci
- run: npm run build
- run: npm run typecheck
- run: npm run test:coverage
- run: npm run test:mcp
- run: npm run test:fixtures
- run: npm run lint
- name: CLI smoke
run: |
node packages/cli/dist/cli.js validate MARCHESE.md
node packages/cli/dist/cli.js validate examples/basic/MARCHESE.md
node packages/cli/dist/cli.js validate examples/advanced/MARCHESE.md
node packages/cli/dist/cli.js audit . --json > /tmp/audit.json
node packages/cli/dist/cli.js rtk status --json
node packages/cli/dist/cli.js route "generate unit tests" --json
node packages/cli/dist/cli.js status . --json
node packages/cli/dist/cli.js models list --json
printf 'log line\n%.0s' {1..50} > /tmp/ctx.txt
node packages/cli/dist/cli.js image /tmp/ctx.txt --json
python:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: sdks/python/pyproject.toml
- name: Install and test
working-directory: sdks/python
run: |
pip install -e ".[dev]"
PYTHONPATH=src pytest -q