From 156e1100953059b000bd3f3c1fbee533ab3f328a Mon Sep 17 00:00:00 2001 From: Hind Montassif Date: Wed, 18 Sep 2024 16:04:21 +0200 Subject: [PATCH] Add logs --- .github/workflows/unix_impl.yml | 2 +- micromamba/tests/test_env.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unix_impl.yml b/.github/workflows/unix_impl.yml index 7d04dde8e3..d1c0c1041b 100644 --- a/.github/workflows/unix_impl.yml +++ b/.github/workflows/unix_impl.yml @@ -161,7 +161,7 @@ jobs: run: | export TEST_MAMBA_EXE=$(pwd)/build/micromamba/mamba unset CONDARC # Interferes with tests - python -m pytest micromamba/tests/ \ + python -m pytest micromamba/tests/test_env.py::test_env_update_pypi_with_conda_forge \ ${{ runner.debug == 'true' && '-v --capture=tee-sys' || '--exitfirst' }} verify_pkg_tests: diff --git a/micromamba/tests/test_env.py b/micromamba/tests/test_env.py index 2c202189e0..d2e71e4d5e 100644 --- a/micromamba/tests/test_env.py +++ b/micromamba/tests/test_env.py @@ -361,5 +361,5 @@ def test_env_update_pypi_with_conda_forge(tmp_home, tmp_root_prefix, tmp_path): ## See: https://github.com/mamba-org/mamba/issues/2059 pip_list_output = helpers.umamba_run("-p", env_prefix, "pip", "list", "--format=json") pip_packages_list = yaml.safe_load(pip_list_output) - + print("pip_packages_list: ", pip_packages_list) assert any(pkg["name"] == "numpy" and pkg["version"] == "1.26.4" for pkg in pip_packages_list)