Concurrency overhaul #121
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
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 flake8 gdal cloudpickle | |
- name: Lint with flake8 | |
shell: bash -l {0} | |
run: | | |
flake8 rios | |
- name: Test with testrios.py | |
shell: bash -l {0} | |
run: | | |
pip install . | |
testrios.py |