Skip to content

Commit 44b79c6

Browse files
Update ci.yml
1 parent a6e4084 commit 44b79c6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,20 @@ jobs:
1212
- uses: actions/setup-python@v5
1313
with:
1414
python-version: "3.11"
15+
1516
- name: Install deps
1617
run: |
1718
python -m pip install --upgrade pip
18-
pip install pytest==8.3.3 z3-solver==4.13.0.0
19+
pip install pytest==8.3.3 z3-solver==4.13.0.0 gradio==4.44.0
20+
21+
- name: Compile for early syntax errors
22+
run: |
23+
python -m py_compile gradio_demo.py
24+
python - <<'PY'
25+
import glob, py_compile
26+
[py_compile.compile(p, doraise=True) for p in glob.glob("tests/*.py")]
27+
print("compiled tests ok")
28+
PY
29+
1930
- name: Run tests
2031
run: pytest -ra

0 commit comments

Comments
 (0)