diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c5ecd82a..87c0c11a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -147,25 +147,12 @@ jobs: python-version: ${{ matrix.python }} - name: Install Conda environment packages - run: conda install --channel=conda-forge --quiet --yes gdal=${{ - env.GDAL_VERSION }} poetry=1.3.2 # Workaround for https://github.com/python-poetry/poetry/issues/7589 + run: + conda install --channel=conda-forge --quiet --yes gdal=${{ + env.GDAL_VERSION }} poetry - - name: Install Python packages on non-Windows runner + - name: Install Python packages run: poetry install --only=main --no-root - if: ${{ !startsWith(runner.os, 'Windows') }} - - - name: - Install Python packages on Windows runner (Workaround for - https://github.com/python-poetry/poetry/issues/1031) - uses: nick-fields/retry@v2.8.3 - with: - timeout_minutes: 9999 # Workaround for https://github.com/nick-fields/retry/issues/107 - max_attempts: 6 - command: bash --login -o errexit -c 'cd flooding/sentinel${{ - matrix.sentinel }}_water_extraction && poetry install --only=main - --no-root' # Workaround for https://github.com/python-poetry/poetry/issues/7363 / https://github.com/nick-fields/retry/issues/89 - shell: bash - if: ${{ startsWith(runner.os, 'Windows') }} - name: Run test run: