Skip to content

Commit

Permalink
add coverage to project
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Sep 19, 2024
1 parent a63510f commit f7525f0
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ __pycache__
.local
.gitconfig
.venv
.ssh
.ssh
htmlcov/
.coverage
104 changes: 103 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ packages = [{include = "aim"}]
[tool.poetry.dependencies]
python = "^3.11"
requests = "^2.31.0"
pytest = "^8.2.2"
sqlalchemy = "^2.0.34"
mysqlclient = "^2.2.4"
fastapi = {extras = ["standard"], version = "^0.114.2"}
Expand All @@ -19,6 +18,10 @@ httpx = "^0.27.2"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.2"
ruff = "^0.2.2"
pytest-cov = "^5.0.0"

[tool.pytest.ini_options]
addopts = "--cov=aim --cov-report=html --cov-report=term:skip-covered"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit f7525f0

Please sign in to comment.