Skip to content

Commit 40194a0

Browse files
authored
πŸ› fix(ci): pin coverage core to ctrace so test contexts record (#1148)
1 parent 7519c9d commit 40194a0

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ exclude-newer = "7 days"
149149

150150
[tool.coverage]
151151
run.plugins = ["covdefaults"]
152+
run.core = "ctrace" # sysmon is 3.14+'s default but can't record dynamic contexts; PyPy falls back to pytrace
152153
run.source = ["build", "tests"]
153154
run.omit = ["tests/conftest.py", "tests/test_integration.py",]
154155
report.omit = ["src/build/_types.py"]
155156
run.disable_warnings = [
156157
"module-not-measured", # Triggers in multithreaded context on build
157-
"no-sysmon",
158158
]
159159
covdefaults.subtract_omit = "*/__main__.py"
160160
report.exclude_also = [

β€Žtox.tomlβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ commands = [
2727
dependency_groups = ["test"]
2828

2929
[env_run_base.set_env]
30-
COVERAGE_CORE = "sysmon"
3130
COVERAGE_FILE = "{toxworkdir}/.coverage.{envname}"
3231
PYPY3323BUG = "1"
3332
PYTHONWARNDEFAULTENCODING = "1"

0 commit comments

Comments
Β (0)