Properly combine coverage files cross-platform
Marco Ricci

Marco Ricci commited on 2026-01-18 14:23:57
Zeige 1 geänderte Dateien mit 1 Einfügungen und 0 Löschungen.


Set the coverage settings to record relative paths, instead of absolute
ones, so that when combining coverage files from different OSes, the
paths merge cleanly.
... ...
@@ -302,6 +302,7 @@ omit = [
302 302
 dynamic_context = 'test_function'
303 303
 concurrency = ['thread', 'multiprocessing']
304 304
 sigterm = true
305
+relative_files = true
305 306
 
306 307
 [tool.hatch.build.targets.sdist]
307 308
 exclude = [
308 309