Skip to content

Commit

Permalink
Add pytest configuration to pyproject.toml
Browse files Browse the repository at this point in the history
Include pytest minimum version and the `tests/` path in pyproject.toml. This is
done to avoid collection of the dependency `env/src/sogcommand/SOGcommand/tests/`
directory in the GHA pytest-with-coverage workflow.
  • Loading branch information
douglatornell committed Feb 15, 2025
1 parent 4bb12c8 commit 8475968
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ bloomcast = "bloomcast.main:main"
ensemble = "bloomcast.ensemble:Ensemble"


[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
]


[tool.coverage.run]
branch = true
source = [ "bloomcast", "tests"]
Expand Down

0 comments on commit 8475968

Please sign in to comment.