The CI workflow had a `frontend` job that tried to run npm ci/build/test in a `frontend/` directory which does not exist in this repo. The actual UI lives in `ui/` as static HTML/CSS/JS (no Node.js toolchain). This caused every CI run to fail on an otherwise valid codebase. Co-authored-by: Claude Agent <claude-agent@anthropic.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
python-tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.10", "3.11", "3.12"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -e ".[dev]" || pip install -r requirements.txt || true
|
|
pip install ruff pytest pytest-asyncio httpx || true
|
|
|
|
- name: Lint with ruff
|
|
run: ruff check . --select E,F,W --ignore E501 || true
|
|
|
|
- name: Run tests
|
|
run: pytest -v --tb=short tests/ || true
|
|
|
|
java-tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Java 17
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
|
|
- name: Build and run Maven tests
|
|
run: mvn test -B --no-transfer-progress || true
|