Skip to content

Commit

Permalink
Add system-depending installation of GDAL on Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gutzbenj committed Oct 12, 2021
1 parent 37a93b0 commit 7acb164
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/tests.yml
Expand Up @@ -62,5 +62,19 @@ jobs:
# run: poetry install --no-interaction
# #if: steps.poetry-cache-flag.outputs.cache-hit != 'true'

- name: Install wradlib (Mac only)
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
brew install gdal && poetry install --extras=radar
fi
shell: bash

- name: Install wradlib (Linux only)
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get install gdal && poetry install --extras=radar
fi
shell: bash

- name: Test
run: poetry run poe test

0 comments on commit 7acb164

Please sign in to comment.