Skip to content

Commit

Permalink
add a install xarray step to the upstream-dev CI (pydata#5044)
Browse files Browse the repository at this point in the history
* 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]
  • Loading branch information
keewis authored Mar 17, 2021
1 parent 37fe544 commit 7687497
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
artifacts_availability: ${{ steps.status.outputs.ARTIFACTS_AVAILABLE }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- uses: conda-incubator/setup-miniconda@v2
with:
channels: conda-forge
Expand All @@ -60,6 +62,9 @@ jobs:
run: |
mamba env update -f ci/requirements/environment.yml
bash ci/install-upstream-wheels.sh
- name: Install xarray
run: |
python -m pip install --no-deps -e .
- name: Version info
run: |
conda info -a
Expand Down
3 changes: 2 additions & 1 deletion ci/install-upstream-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ conda uninstall -y --force \
rasterio \
pint \
bottleneck \
sparse
sparse \
xarray
# to limit the runtime of Upstream CI
python -m pip install pytest-timeout
python -m pip install \
Expand Down

0 comments on commit 7687497

Please sign in to comment.