Commit 340e73e
committed
Fix macOS and Windows CI test failures
macOS fixes:
- Replace mapfile with while loop (mapfile is bash 4+ only, macOS has bash 3.x/zsh)
- Fixes 'mapfile: command not found' error
Windows fixes:
- Add nobackup and nowritebackup to vimrc to prevent backup file errors
- Fix Windows path resolution issue with os.path.relpath (handles different drive letters)
- Create C:\tmp directory for test compatibility (/tmp/ paths in tests)
- Fixes E510 backup file errors and ValueError path resolution errors
These changes address the specific CI failures:
- macOS: exit code 127 (command not found)
- Windows: E510 backup errors, E212 /tmp/ path errors, ValueError drive letter errors1 parent 872944f commit 340e73e
File tree
3 files changed
+28
-2
lines changed- pymode
- scripts/cicd
3 files changed
+28
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
394 | 401 | | |
395 | 402 | | |
396 | 403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
38 | 51 | | |
39 | 52 | | |
40 | 53 | | |
| |||
120 | 133 | | |
121 | 134 | | |
122 | 135 | | |
| 136 | + | |
| 137 | + | |
123 | 138 | | |
124 | 139 | | |
125 | 140 | | |
| |||
0 commit comments