Skip to content

Commit 995f1c2

Browse files
benogeorgeclaude
andcommitted
fix(pet-conda): shorten Windows test fixture path
Rename the long conda fixture root so Windows GitHub Actions checkouts stay under the path limit. Keep the history-based manager detection test coverage intact while avoiding the cargo fetch failure reported in #171. Fixes #171 Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b8bff92 commit 995f1c2

26 files changed

+4
-4
lines changed

crates/pet-conda/tests/lib_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ fn find_conda_env_without_manager_but_detect_manager_from_history() {
5353
let locator = Conda::from(&environment);
5454
let path = resolve_test_path(&[
5555
"unix",
56-
"conda_env_without_manager_but_found_in_history",
56+
"conda_hist",
5757
"env_python_3",
5858
]);
5959
let conda_dir = resolve_test_path(&[
6060
"unix",
61-
"conda_env_without_manager_but_found_in_history",
61+
"conda_hist",
6262
"some_other_location",
6363
"conda_install",
6464
]);

crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/env_python_3/bin/conda renamed to crates/pet-conda/tests/unix/conda_hist/env_python_3/bin/conda

File renamed without changes.

crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/env_python_3/bin/python renamed to crates/pet-conda/tests/unix/conda_hist/env_python_3/bin/python

File renamed without changes.

crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/env_python_3/bin/python3 renamed to crates/pet-conda/tests/unix/conda_hist/env_python_3/bin/python3

File renamed without changes.

crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/env_python_3/bin/python3.1 renamed to crates/pet-conda/tests/unix/conda_hist/env_python_3/bin/python3.1

File renamed without changes.

crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/env_python_3/bin/python3.12 renamed to crates/pet-conda/tests/unix/conda_hist/env_python_3/bin/python3.12

File renamed without changes.

crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/env_python_3/conda-meta/history renamed to crates/pet-conda/tests/unix/conda_hist/env_python_3/conda-meta/history

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
==> 2024-02-28 23:05:07 <==
2-
# cmd: /home/runner/work/python-environment-tools/python-environment-tools/crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/some_other_location/conda_install/bin/conda create -n conda1
2+
# cmd: /home/runner/work/python-environment-tools/python-environment-tools/crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/bin/conda create -n conda1
33
# conda version: 23.11.0
44
==> 2024-02-28 23:08:59 <==
5-
# cmd: /home/runner/work/python-environment-tools/python-environment-tools/crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/some_other_location/conda_install/bin/conda install -c conda-forge --name conda1 ipykernel -y
5+
# cmd: /home/runner/work/python-environment-tools/python-environment-tools/crates/pet-conda/tests/unix/conda_hist/some_other_location/conda_install/bin/conda install -c conda-forge --name conda1 ipykernel -y
66
# conda version: 23.11.0
77
+conda-forge/noarch::appnope-0.1.4-pyhd8ed1ab_0
88
+conda-forge/noarch::asttokens-2.4.1-pyhd8ed1ab_0

crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/env_python_3/conda-meta/history_template renamed to crates/pet-conda/tests/unix/conda_hist/env_python_3/conda-meta/history_template

File renamed without changes.

crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/env_python_3/conda-meta/pygments-2.17.2-pyhd8ed1ab_0.json renamed to crates/pet-conda/tests/unix/conda_hist/env_python_3/conda-meta/pygments-2.17.2-pyhd8ed1ab_0.json

File renamed without changes.

crates/pet-conda/tests/unix/conda_env_without_manager_but_found_in_history/env_python_3/conda-meta/python-3.12.2-hdf0ec26_0_cpython.json renamed to crates/pet-conda/tests/unix/conda_hist/env_python_3/conda-meta/python-3.12.2-hdf0ec26_0_cpython.json

File renamed without changes.

0 commit comments

Comments
 (0)