Commit e2aa966
authored
Fixes two unrelated flaky Windows CI failures that block PRs from
merging.
## Changes
**Flake 1: `bash` not found during coverage job**
- Added "Ensure Git bash is on PATH" step in `coverage.yml` and
`coverage-baseline.yml` before `taiki-e/install-action`
- Uses PowerShell to locate Git's `bin` directory and append it to
`GITHUB_PATH`
**Flake 2: Conda base env returns empty output**
- Changed `get_python_interpreter_info` to return
`Option<InterpreterInfo>` instead of panicking on empty output
- Captures exit status and stderr for diagnostic logging when output is
missing or unparseable
- Skips interpreter info validation gracefully for Conda environments
only (CI runners' Conda base env can return empty output)
- Non-Conda environments still panic on failure to preserve test
coverage
Fixes #381
1 parent 80b4574 commit e2aa966
File tree
3 files changed
+70
-12
lines changed- .github/workflows
- crates/pet/tests
3 files changed
+70
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
148 | 163 | | |
149 | 164 | | |
150 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
177 | 192 | | |
178 | 193 | | |
179 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
262 | 279 | | |
263 | 280 | | |
264 | 281 | | |
| |||
788 | 805 | | |
789 | 806 | | |
790 | 807 | | |
791 | | - | |
| 808 | + | |
792 | 809 | | |
793 | 810 | | |
794 | 811 | | |
795 | 812 | | |
796 | 813 | | |
797 | 814 | | |
798 | 815 | | |
799 | | - | |
800 | | - | |
| 816 | + | |
801 | 817 | | |
802 | 818 | | |
803 | 819 | | |
804 | | - | |
805 | | - | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
812 | 840 | | |
0 commit comments