Slap in some type ignores #28
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: test | |
on: [push, pull_request] | |
env: | |
# Task vars | |
python-version: "3.10" | |
poetry-version: "1.5.1" | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.python-version }} | |
- uses: pre-commit/[email protected] | |
pytest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: abatilo/[email protected] | |
with: | |
poetry-version: ${{ env.poetry-version }} | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.python-version }} | |
cache: "poetry" | |
- run: poetry install --no-root | |
- run: PYTHONPATH=src/.:tests/. poetry run pytest | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: abatilo/[email protected] | |
with: | |
poetry-version: ${{ env.poetry-version }} | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.python-version }} | |
cache: "poetry" | |
- run: poetry install --no-root | |
- run: poetry run mypy |