Skip to content

fix: atomic file writes, LangSmith V1/V2 compat, and defensive improv… #33

fix: atomic file writes, LangSmith V1/V2 compat, and defensive improv…

fix: atomic file writes, LangSmith V1/V2 compat, and defensive improv… #33

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.13"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --extra test
- name: Run tests with coverage
run: uv run pytest --cov=chcode --cov-report=term-missing --cov-report=xml
- name: Upload coverage
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml