GraphResearcher / .github /workflows /python-syntax-check.yml
yugbirla's picture
Add evaluation framework, ablation tests, and lean README
7728916
Raw
History Blame Contribute Delete
612 Bytes
name: Python syntax check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install test dependencies
run: |
pip install pytest requests
- name: Compile app and scripts
run: |
python -m compileall app scripts -q
- name: Run pytest
run: |
pytest tests/ -q --tb=short