Truncation bug #330
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: Python code quality checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: '**' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.7 | |
uses: actions/[email protected] | |
with: | |
python-version: 3.7 | |
- name: Install poetry | |
run: pip install poetry | |
- name: Install requirements | |
run: poetry install | |
- name: Lint with flake8 | |
run: poetry run flake8 | |
- name: Lint with black | |
run: poetry run black --check exact_cover/ tests/ tools/ build.py | |
- name: Check examples in README | |
run: poetry run doctest |