Skip to content

Commit 7687497

Browse files
authored
add a install xarray step to the upstream-dev CI (#5044)
* install the checked-out xarray [test-upstream] [skip-ci] * also uninstall any version of xarray [test-upstream] [skip-ci] * fetch all tags and commits [test-upstream] [skip-ci]
1 parent 37fe544 commit 7687497

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/upstream-dev-ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
artifacts_availability: ${{ steps.status.outputs.ARTIFACTS_AVAILABLE }}
4949
steps:
5050
- uses: actions/checkout@v2
51+
with:
52+
fetch-depth: 0 # Fetch all history for all branches and tags.
5153
- uses: conda-incubator/setup-miniconda@v2
5254
with:
5355
channels: conda-forge
@@ -60,6 +62,9 @@ jobs:
6062
run: |
6163
mamba env update -f ci/requirements/environment.yml
6264
bash ci/install-upstream-wheels.sh
65+
- name: Install xarray
66+
run: |
67+
python -m pip install --no-deps -e .
6368
- name: Version info
6469
run: |
6570
conda info -a

ci/install-upstream-wheels.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ conda uninstall -y --force \
1515
rasterio \
1616
pint \
1717
bottleneck \
18-
sparse
18+
sparse \
19+
xarray
1920
# to limit the runtime of Upstream CI
2021
python -m pip install pytest-timeout
2122
python -m pip install \

0 commit comments

Comments
 (0)