From e9c61eb05f38978cbaf0d2e8f26d9fc53efe83d0 Mon Sep 17 00:00:00 2001 From: Jonathan Guyer Date: Fri, 26 Jul 2024 10:11:34 -0400 Subject: [PATCH] Debug environment.yml installation --- .azure/templates/install.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.azure/templates/install.yml b/.azure/templates/install.yml index aee4234db2..e7478710f0 100644 --- a/.azure/templates/install.yml +++ b/.azure/templates/install.yml @@ -39,20 +39,20 @@ steps: # Most triggered builds use lockfile to ensure failures are # due to commit and not due to dependencies - - bash: | - conda install --channel=conda-forge --name=base conda-lock - conda-lock install --name myEnvironment \ - environments/locks/conda-${{ parameters.solver }}-lock.yml - displayName: Create Anaconda environment from lockfile - condition: not(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build')) +# - bash: | +# conda install --channel=conda-forge --name=base conda-lock +# conda-lock install --name myEnvironment \ +# environments/locks/conda-${{ parameters.solver }}-lock.yml +# displayName: Create Anaconda environment from lockfile +# condition: not(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build')) # Daily midnight build uses environment.yml files to catch regressions # due to updates in dependencies - bash: | - conda env create --name myEnvironment \ + conda env create --debug --name myEnvironment \ --file environments/${{ parameters.solver }}-environment.yml displayName: Create Anaconda environment from environments - condition: eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build') + condition: not(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build')) - bash: | if [[ "${{ parameters.conda_packages }}" != "" ]]; then