make the command line tests into a pytest test #194
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: MyPy and Pylint Checks | |
on: | |
pull_request: | |
push: | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
name: MyPy | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- run: pip install --upgrade pip | |
- run: pip install .[dev] | |
- run: mypy $(git ls-files 'countess/*.py') | |
pylint: | |
runs-on: ubuntu-latest | |
name: PyLint | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- run: pip install --upgrade pip | |
- run: pip install .[dev] | |
- run: pylint $(git ls-files 'countess/*.py') | |