Commit 1d5efb2
“jagnd1”
FIX: force relative paths in coverage.xml
ISSUE: coverage.xml still contains absolute paths despite relative_files=True
ROOT CAUSE: pytest --cov=../ overrides .coveragerc relative_files setting
SOLUTION: explicit sed commands to convert absolute to relative paths
This is the final fix based on evidence from logs showing:
- filename="/home/runner/work/fmcrypto/fmcrypto/common/__init__.py"
- needs to become: filename="common/__init__.py"
Added verification step to confirm path fix works.
This MUST resolve the SonarCloud coverage detection issue.1 parent 18f57c4 commit 1d5efb2
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
117 | 125 | | |
118 | 126 | | |
119 | 127 | | |
| |||
0 commit comments