Skip to content

Modernize app for current TensorFlow, fix broken UI, add tests + project hygiene #2

Modernize app for current TensorFlow, fix broken UI, add tests + project hygiene

Modernize app for current TensorFlow, fix broken UI, add tests + project hygiene #2

Workflow file for this run

name: CI
on:
push:
branches: [main, "feat/**", "fix/**"]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install lightweight deps (no TensorFlow in CI)
run: |
python -m pip install --upgrade pip
pip install flask numpy Pillow pytest
- name: Byte-compile sources
run: python -m compileall app.py
- name: Run smoke tests (TensorFlow mocked)
run: pytest -q