We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 093b9ca commit 73a961fCopy full SHA for 73a961f
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main, "feat/**", "fix/**"]
6
+ pull_request:
7
+ branches: [main]
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Set up Python
16
+ uses: actions/setup-python@v5
17
+ with:
18
+ python-version: "3.11"
19
20
+ - name: Install lightweight deps (no TensorFlow in CI)
21
+ run: |
22
+ python -m pip install --upgrade pip
23
+ pip install flask numpy Pillow pytest
24
25
+ - name: Byte-compile sources
26
+ run: python -m compileall app.py
27
28
+ - name: Run smoke tests (TensorFlow mocked)
29
+ env:
30
+ PYTHONPATH: .
31
+ run: pytest -q
0 commit comments