Skip to content

Ignore loose PDF/HTML scratch files under docs/ #20

Ignore loose PDF/HTML scratch files under docs/

Ignore loose PDF/HTML scratch files under docs/ #20

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 test
- 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
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