Skip to content

Commit

Permalink
Debug environment.yml installation
Browse files Browse the repository at this point in the history
  • Loading branch information
guyer committed Jul 26, 2024
1 parent 3c7c8c1 commit e9c61eb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .azure/templates/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9c61eb

Please sign in to comment.