Skip to content

Merge pull request #44 from limix/move_mmm #36

Merge pull request #44 from limix/move_mmm

Merge pull request #44 from limix/move_mmm #36

name: Python package
on: [push, pull_request]
jobs:
build:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest black isort setuptools --upgrade
pip install . && pip uninstall "$(python setup.py --name)" --yes
- name: Lint
run: |
flake8 .
black --check .
isort --check-only .
- name: Test
run: pytest .