From 2aadbd500b7b7d37b7470661fbc5a9ab0c7f1bf7 Mon Sep 17 00:00:00 2001 From: Keewis Date: Wed, 17 Mar 2021 10:37:00 +0100 Subject: [PATCH 1/3] install the checked-out xarray [test-upstream] [skip-ci] --- .github/workflows/upstream-dev-ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/upstream-dev-ci.yaml b/.github/workflows/upstream-dev-ci.yaml index 8e8fc16f50b..25ae1852d3a 100644 --- a/.github/workflows/upstream-dev-ci.yaml +++ b/.github/workflows/upstream-dev-ci.yaml @@ -60,6 +60,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 From cad406ff0709eedb37ce732e047d47c792c9b7f9 Mon Sep 17 00:00:00 2001 From: Keewis Date: Wed, 17 Mar 2021 10:39:23 +0100 Subject: [PATCH 2/3] also uninstall any version of xarray [test-upstream] [skip-ci] --- ci/install-upstream-wheels.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \ From 0300f9cf399d7642db491f69a1f71d6e7818fb5a Mon Sep 17 00:00:00 2001 From: Keewis Date: Wed, 17 Mar 2021 11:09:07 +0100 Subject: [PATCH 3/3] fetch all tags and commits [test-upstream] [skip-ci] --- .github/workflows/upstream-dev-ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/upstream-dev-ci.yaml b/.github/workflows/upstream-dev-ci.yaml index 25ae1852d3a..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