Skip to content

Commit 0c376dd

Browse files
authored
upstream-dev CI (#19)
* actually add the upstream-dev CI * fix a few syntax errors * also install wheel * use pint from pypi for the normal builds * don't install upstream-dev versions of pandas and scipy
1 parent c14e2c1 commit 0c376dd

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

azure-pipelines.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
python.version: '3.7'
1919
Python38:
2020
python.version: '3.8'
21+
Python38-upstream-dev:
22+
python.version: '3.8'
23+
upstream_dev: true
2124

2225
steps:
2326
- task: UsePythonVersion@0
@@ -26,10 +29,26 @@ jobs:
2629
displayName: 'Use Python $(python.version)'
2730

2831
- script: |
29-
python -m pip install --upgrade pip
32+
python -m pip install --upgrade pip setuptools wheel
33+
displayName: 'Upgrade pip and build tools'
34+
35+
- script: |
3036
pip install -r requirements.txt
3137
displayName: 'Install dependencies'
3238
39+
- script: |
40+
python -m pip install \
41+
-i https://pypi.anaconda.org/scipy-wheels-nightly/simple \
42+
--no-deps \
43+
--pre \
44+
--upgrade \
45+
numpy
46+
python -m pip install --upgrade \
47+
git+https://github.com/hgrecco/pint \
48+
git+https://github.com/pydata/xarray
49+
displayName: 'Install upstream-dev dependencies'
50+
condition: eq(variables['UPSTREAM_DEV'], 'true')
51+
3352
- script: |
3453
pip install pytest pytest-azurepipelines pytest-cov
3554
pytest --verbose --cov=./ --cov-report=xml

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
git+https://github.com/hgrecco/pint.git@master#egg=pint-master
1+
pint>=0.13
22
numpy>=1.17.1
33
xarray>=0.15.1

0 commit comments

Comments
 (0)