Skip to content

Update setup.py

Update setup.py #131

name: Test aPhyloGeo
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- run: pip install -r aPhyloGeo/requirements.txt
- run: pip install flake8
- run: pip install -e .
- run: pip install git+https://github.com/althonos/pymuscle5
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --ignore=E222,E501,E502,E722,F403,F405,W291,W293
- name: Test with pytest
run: |
cd aPhyloGeo
python -m pytest