Fix tests #761
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: lint | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.6 | |
- name: Install dependencies | |
run: | | |
pip install --upgrade setuptools | |
pip install pycodestyle | |
pip install flake8 | |
python setup.py build | |
- name: Check code style. | |
run: pycodestyle gadma | |
- name: flake8 | |
run: flake8 --exit-zero ./gadma |