Skip to content

Commit

Permalink
if nightlies, install them first
Browse files Browse the repository at this point in the history
  • Loading branch information
OriolAbril committed Apr 5, 2024
1 parent 34f2ee4 commit b0d7be3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .azure-pipelines/azure-pipelines-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ jobs:
- script: |
python -m pip install --upgrade pip
displayName: 'Upgrade pip'
- script: |
python -m pip install --no-cache-dir --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple contourpy h5py matplotlib numpy pandas scipy xarray
condition: and(succeeded(), eq(variables.Nightlies, true))
displayName: 'Install nightlies for scientific python packages'
- script: |
python -m pip install wheel
python -m pip install --no-cache-dir -r requirements.txt
python -m pip install --no-cache-dir -r requirements-dev.txt
Expand All @@ -69,9 +77,8 @@ jobs:
- script: |
python -m pip install --no-cache-dir --upgrade --pre -r requirements.txt
python -m pip install --no-cache-dir --upgrade --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple contourpy h5py matplotlib numpy pandas scipy xarray
condition: and(succeeded(), eq(variables.Nightlies, true))
displayName: 'Update with nightlies'
displayName: 'Update with pre-releases (if any)'
- script: |
python -m pip install .
Expand Down

0 comments on commit b0d7be3

Please sign in to comment.