Skip to content

Commit

Permalink
Update pyproject.toml fixing cov
Browse files Browse the repository at this point in the history
  • Loading branch information
shangtai authored Aug 5, 2024
1 parent 8d6c13a commit 70d5214
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.pytest.ini_options]
pythonpath = [
"src"
testpaths = ['tests/']
filterwarnings = ['ignore::RuntimeWarning']
addopts = [
'--cov=qibo',
'--cov-append',
'--cov-report=xml',
'--cov-report=html',
'--durations=60',
]

[tool.poe.tasks]
Expand All @@ -38,3 +44,5 @@ lint-warnings = "pylint src --exit-zero"
docs = "make -C doc html"
docs-clean = "make -C doc clean"
test-docs = "make -C doc doctest"


0 comments on commit 70d5214

Please sign in to comment.