From 6257a5aa5ce27ab75b9a102e44d9f3accbccfb4c Mon Sep 17 00:00:00 2001 From: Duncan Macleod Date: Mon, 18 Nov 2024 10:19:06 +0000 Subject: [PATCH] tox: run conda list before running pytest --- tox.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 35a12f916e1..264fdc57446 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,9 @@ deps = mkl;'arm' not in platform_machine [testenv] -allowlist_externals = bash +allowlist_externals = + bash + conda passenv=LAL_DATA_PATH conda_deps=openssl conda_channels=conda-forge @@ -39,6 +41,8 @@ setenv = ; Tell the linker to look for shared libs inside the temporary Conda env. ; Needed to build BBHx's wheel, whick links to LAPACK. LIBRARY_PATH={envdir}/lib:{env:LIBRARY_PATH:} +commands_pre = + conda list commands = pytest # The following are long running or may require