Skip to content

feat: hello world + minimal CI #2

feat: hello world + minimal CI

feat: hello world + minimal CI #2

Workflow file for this run

### 3) 配置最小 CI(GitHub Actions,~5–10 分钟)
name: CI
on:
push:
branches: [ main, "feature/**" ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: pip install -r requirements.txt || true
- run: |
if [ -f requirements.txt ]; then
pytest -q
else
python -m src.app
fi