Skip to content

Stabilize CLI tests under GitHub Actions #3

Stabilize CLI tests under GitHub Actions

Stabilize CLI tests under GitHub Actions #3

Workflow file for this run

name: CI
on:
push:
branches: [master]
paths-ignore:
- "**/*.md"
pull_request:
paths-ignore:
- "**/*.md"
permissions:
contents: read
jobs:
test:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install
run: python -m pip install -e ".[dev]"
- name: Lint
run: python -m ruff check src tests
- name: Test with coverage
run: python -m pytest -q --cov=threadvault --cov-report=term-missing --cov-fail-under=70
- name: Desktop smoke
shell: pwsh
run: threadvault desktop smoke --db "$env:RUNNER_TEMP\threadvault-smoke.db" --json
- name: MCP manifest
run: threadvault mcp manifest --json