CI / ledger-and-tools (push) Successful in 18s
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
31 lines
693 B
YAML
31 lines
693 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
ledger-and-tools:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout (no LFS objects needed)
|
|
uses: actions/checkout@v4
|
|
with:
|
|
lfs: false
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Install test dependencies
|
|
run: python -m pip install --upgrade pip pytest
|
|
|
|
- name: Ledger and importer tests
|
|
run: pytest tests/test_ledger.py tests/test_import_studio_export.py tests/test_gate.py -q
|
|
|
|
- name: Every run.json valid
|
|
run: python tools/ledger.py check
|