Skip to content

Guard against trying to subsample >100% of the data #138

Guard against trying to subsample >100% of the data

Guard against trying to subsample >100% of the data #138

Workflow file for this run

# 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