This is a tiny sample repo for Session 1: AI‑Assisted GitHub & CI.
app/main.py: a minimal FastAPI app with a/healthendpointtests/test_health.py: a basic test that asserts/healthreturns{"status":"ok", ...}.github/workflows/ci.yml: GitHub Actions to run tests on push and pull_request.github/pull_request_template.md: a simple template for quality PRs
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload
# in another terminal
pytest -q- Edit
README.md→ add one helpful line under “Run locally”. - In the commit box, select Create a new branch named
docs/add-test-instructions. - Propose changes → Create pull request.
- Wait for ✅ CI checks, then paste an AI‑drafted PR description (What/Why/How/Tests) and submit.
Use the instructor‑seeded failing PR (separate repo or branch). Open the failing check, copy the error snippet, ask AI to explain it simply, and post a comment with root cause + smallest fix.
- Keep PRs small and focused.
- Use AI for drafting and explanations, but you verify commands and code.