kiwi/.github/workflows/ci.yml
pyr0ball ff4ab9d10d
Some checks failed
CI / Frontend (Vue) (push) Has been cancelled
Mirror / mirror (push) Has been cancelled
CI / Backend (Python) (push) Has been cancelled
fix(ci): add pandas, skip orch/torch tests, fix recipe scan tier in test
- ci.yml: add pandas to pip install (pipeline tests); ignore
  test_vl_model_task.py (requires circuitforge_orch)
- test_recipe_scan.py: default fixture tier to 'premium' — recipe_scan
  is a premium feature in tiers.py; test was using 'paid' causing 403
2026-07-06 02:59:53 -07:00

63 lines
1.6 KiB
YAML

# Kiwi CI — runs on GitHub mirror for public credibility badge.
# Forgejo (.forgejo/workflows/ci.yml) is the canonical CI — keep these in sync.
# No Forgejo-specific secrets used here; circuitforge-core is public on Forgejo.
#
# Note: frontend has no test suite yet — CI runs typecheck only.
# Add 'npm run test' when vitest is wired.
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
backend:
name: Backend (Python)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: pip
- name: Install circuitforge-core
run: pip install git+https://git.opensourcesolarpunk.com/Circuit-Forge/circuitforge-core.git@main
- name: Install dependencies
run: pip install -e . pytest pytest-asyncio httpx ruff psycopg2-binary anthropic pandas
- name: Lint
run: ruff check .
- name: Test
run: >
pytest tests/ -v --tb=short
--ignore=tests/fixtures
--ignore=tests/test_services/test_docuvision_client.py
--ignore=tests/services/test_vl_model_task.py
frontend:
name: Frontend (Vue)
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Type check
run: npx vue-tsc --noEmit