Skip to content

Commit

Permalink
Tests: Enable code coverage tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Sep 13, 2023
1 parent 1f87632 commit bb2ad73
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ authors = [
{name = "Andreas Motl", email = "[email protected]"},
]
classifiers = [
"Development Status :: 1 - Planning",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Customer Service",
"Intended Audience :: Developers",
Expand Down Expand Up @@ -85,9 +85,9 @@ release = [
"twine<5",
]
test = [
"coverage<8",
"psutil<6",
"pytest<8",
"pytest-cov<5",
]
[project.scripts]
mlflow-cratedb = "mlflow_cratedb.cli:cli"
Expand Down Expand Up @@ -116,6 +116,7 @@ skip_gitignore = false
minversion = "2.0"
addopts = """
-rfEX -p pytester --strict-markers --verbosity=3
--cov --cov-report=term-missing --cov-report=xml
"""
log_level = "DEBUG"
log_cli_level = "DEBUG"
Expand All @@ -130,12 +131,13 @@ markers = [
[tool.coverage.run]
branch = false
source = ["mlflow_cratedb"]
omit = [
"tests/*",
]

[tool.coverage.report]
fail_under = 0
show_missing = true
omit = [
]

[tool.mypy]
packages = ["mlflow_cratedb"]
Expand Down

0 comments on commit bb2ad73

Please sign in to comment.