From 7687497d84b7d2873155f13cd0bdc4a2ca198a9e Mon Sep 17 00:00:00 2001 From: keewis Date: Wed, 17 Mar 2021 16:57:24 +0100 Subject: [PATCH] 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] --- .github/workflows/upstream-dev-ci.yaml | 5 +++++ ci/install-upstream-wheels.sh | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upstream-dev-ci.yaml b/.github/workflows/upstream-dev-ci.yaml index 8e8fc16f50b..9f29a4ddc31 100644 --- a/.github/workflows/upstream-dev-ci.yaml +++ b/.github/workflows/upstream-dev-ci.yaml @@ -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 @@ -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 diff --git a/ci/install-upstream-wheels.sh b/ci/install-upstream-wheels.sh index 8458a8df352..c5a640c5a81 100755 --- a/ci/install-upstream-wheels.sh +++ b/ci/install-upstream-wheels.sh @@ -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 \