Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions news/subprocess-coverage.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Fixed:**

* Test coverage now includes code run by the API servers that the client tests start in separate processes.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ files = ["alchemiscale"]
ignore_missing_imports = true

[tool.coverage.run]
# the client tests run API servers in forked processes; measure those too,
# and save their data when the tests terminate them
concurrency = ["thread", "multiprocessing"]
parallel = true
sigterm = true
omit = [
"*/_version.py",
"alchemiscale/tests/*",
Expand Down
Loading