Files
kjvstudy.org/pyproject.toml
T
kennethreitz 6994d96f94 Add GitHub Actions CI/CD with automated testing
New workflow: test.yml
- Runs on push to main and all pull requests
- Executes full test suite with pytest
- Generates coverage report
- Includes optional code quality checks

Updated workflow: fly-deploy.yml
- Added test job that runs before deployment
- Deploy only happens if all tests pass
- Prevents deploying broken code to production

Updated dependencies:
- Added pytest-cov for coverage reporting in CI

The test suite (100+ tests) now runs automatically:
- On every push to main
- On every pull request
- Before every deployment to Fly.io

This ensures code quality and prevents regressions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 13:03:06 -05:00

36 lines
771 B
TOML

[project]
name = "kjvstudy-org"
version = "0.1.0"
description = "Study the King James Bible with AI-powered commentary and insights"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"biblepy>=0.1.3",
"fastapi[standard]>=0.115.12",
"ged4py>=0.5.2",
"jinja2>=3.1.6",
"parse>=1.20.2",
"pytest>=8.3.5",
"pytest-cov>=6.0.0",
"python-gedcom>=1.0.0",
"requests>=2.32.3",
"uvicorn>=0.34.2",
]
[project.scripts]
kjvstudy-org = "kjvstudy_org.main:main"
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
include = ["kjvstudy_org*"]
[tool.setuptools.package-data]
kjvstudy_org = ["static/*", "templates/*"]
[tool.uv]
package = true