From 28109fb51f53c65570bd752dca6fc1e0aad12bc1 Mon Sep 17 00:00:00 2001 From: Jonathan Guyer Date: Sat, 3 Aug 2024 17:51:04 -0400 Subject: [PATCH] Debug environment --- .azure/templates/install.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.azure/templates/install.yml b/.azure/templates/install.yml index 0a96320f2a..4e3bdd7b3f 100644 --- a/.azure/templates/install.yml +++ b/.azure/templates/install.yml @@ -54,6 +54,10 @@ steps: displayName: Create Anaconda environment from environments condition: or(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build'), ne(variables['CONDA_ENVIRONMENT_NOT_LOCK'],'')) + - bash: | + conda env export --name myEnvironment + displayName: EnvironmentA + - bash: | if [[ "${{ parameters.conda_packages }}" != "" ]]; then source activate myEnvironment @@ -64,6 +68,10 @@ steps: fi displayName: Install Anaconda packages + - bash: | + conda env export --name myEnvironment + displayName: EnvironmentB + - bash: | if [[ "${{ parameters.pip_packages }}" != "" ]]; then source activate myEnvironment