Spaces:
Runtime error
Runtime error
Download .github/workflows/ci.yml from VioletWizard/Talk-Trace-AI: direct link, hf CLI and curl.
- Browser
- Download file 1.72 kB
-
https://huggingface.co/spaces/VioletWizard/Talk-Trace-AI/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/VioletWizard/Talk-Trace-AI/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/VioletWizard/Talk-Trace-AI/resolve/main/.github/workflows/ci.yml
1.72 kB
| name: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Python 설정 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: 의존성 설치 | |
| run: pip install -r requirements.txt | |
| - name: 문법 점검 | |
| run: | | |
| python -m py_compile app.py | |
| python -m py_compile auth.py | |
| python -m py_compile env.py | |
| python -m py_compile db.py | |
| python -m py_compile config.py | |
| python -m py_compile validators.py | |
| python -m py_compile utils.py | |
| python -m py_compile wordcloud.py | |
| python -m py_compile services/ai.py | |
| python -m py_compile views/home.py | |
| python -m py_compile views/lobby.py | |
| python -m py_compile components/admin_panel.py | |
| python -m py_compile components/teacher_auth.py | |
| python -m py_compile components/sidebar.py | |
| python -m py_compile components/chat_board.py | |
| python -m py_compile components/teacher_dashboard.py | |
| python -m py_compile components/teacher_hint.py | |
| python -m py_compile components/teacher_summary.py | |
| python -m py_compile components/teacher_records.py | |
| echo "✅ 문법 점검 통과!" | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Python 설정 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: 의존성 설치 | |
| run: pip install -r requirements.txt pytest | |
| - name: 단위 테스트 | |
| run: pytest tests/ -v | |