Skip to content

Add notes about GDAL dependency, and why not to use PyPI. Update INST… #281

Add notes about GDAL dependency, and why not to use PyPI. Update INST…

Add notes about GDAL dependency, and why not to use PyPI. Update INST… #281

Workflow file for this run

name: Run tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
syntax-flake8:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
- name: Lint with flake8
uses: py-actions/flake8@v2
tests-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
miniforge-version: latest
miniforge-variant: Mambaforge
- name: Install dependencies
shell: bash -l {0}
run: conda install gdal cloudpickle scipy
- name: Test with testrios
shell: bash -l {0}
run: |
pip install .
testrios
tests-ubuntu-no-conda:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
shell: bash -l {0}
run: |
sudo apt-get install -y --no-install-recommends \
python3-gdal python3-cloudpickle python3-scipy python3-pip
pip install --upgrade pip
- name: Test with testrios
shell: bash -l {0}
run: |
pip install .
testrios
tests-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
miniforge-version: latest
miniforge-variant: Mambaforge
- name: Install dependencies
run: conda install gdal cloudpickle scipy
- name: Test with testrios
run: |
pip install .
testrios
tests-macOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
miniforge-version: latest
miniforge-variant: Mambaforge
- name: Install dependencies
shell: bash -l {0}
run: conda install gdal cloudpickle scipy
- name: Test with testrios
shell: bash -l {0}
run: |
pip install .
testrios