Workflow upgrades: - permissions: checks: write + pull-requests: write (required for annotations) - pytest now outputs --junitxml=reports/junit.xml and --cov-report=xml - EnricoMi/publish-unit-test-result-action@v2: posts a "pytest results" check annotation AND a PR comment showing pass/fail counts with per-test breakdown — both visible in the GitHub mobile app - actions/upload-artifact@v4: uploads coverage.xml (14-day retention) browsable from the Actions tab on mobile README: - Live test badge at the top (green/red, links to Actions run history) .gitignore: - Add reports/ so generated junit.xml + coverage.xml are never committed https://claude.ai/code/session_01M4L3R98N5fgXFZRvV8X9b6
36 lines
359 B
Plaintext
36 lines
359 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*.pyo
|
|
.Python
|
|
build/
|
|
dist/
|
|
*.egg-info/
|
|
.eggs/
|
|
|
|
# Virtual envs
|
|
.venv/
|
|
venv/
|
|
env/
|
|
|
|
# Secrets / local config — commit only .env.example (the template)
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# SQLite memory — never commit agent memory
|
|
*.db
|
|
|
|
# Testing
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
reports/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
.DS_Store
|