diff --git a/tests/container-canary/base.yml b/tests/container-canary/base.yml index 1f79cfc1..465e6c16 100644 --- a/tests/container-canary/base.yml +++ b/tests/container-canary/base.yml @@ -29,6 +29,14 @@ checks: - -c # the second component could have a 't' for like '3.15t' for free-threaded builds at some point in the future - '[[ "${PYTHON_VERSION}" =~ ^[0-9]{1,2}\.[0-9t]{1,2}$ ]]' + - name: tst-conda-active + description: test the conda environment is active if running with a login shell + probe: + exec: + command: + - /bin/bash + - -lc + - '[ "${CONDA_EXE+x}" ];' - name: tool-conda description: conda can be executed probe: