Commit 6953b78
committed
test(conda): keep is_gha() gate on env-creation block
Restore the is_gha() guard on the construct_conda_yml conda env-creation
block that was dropped in ac61194. The block creates a real conda env
under ~/miniforge3/envs/testenv and is intentionally GHA-only — running
it on a developer machine leaves persistent state behind, and the
test's own `condaenv_exists()` cleanup misses orphaned env directories,
so subsequent runs fail with `prefix already exists`. is_gha() is the
right gate here because the test is genuinely targeting the GHA
environment (where setup-miniconda provides conda on PATH and the
runner is fresh).
Update the NEWS bullet to reflect that is_gha() is retained for this
single test; everywhere else the gates are now host-specific
skip_if_offline().1 parent fb4012c commit 6953b78
2 files changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | | - | |
69 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments