Streamline histogram and stats generation (#61) #164
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Python application | |
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 numba scikit-learn gdal | |
- name: Lint with flake8 | |
shell: bash -l {0} | |
run: | | |
flake8 | |
- name: Test with pyshepseg_runtests | |
shell: bash -l {0} | |
run: | | |
pip install . | |
pyshepseg_runtests |