Skip to content

Merge pull request #1 from Sanjays2402/feat/modernize-app #7

Merge pull request #1 from Sanjays2402/feat/modernize-app

Merge pull request #1 from Sanjays2402/feat/modernize-app #7

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)
env:
PYTHONPATH: .
run: pytest -q