lnbits-legend/.github/workflows/mypy.yml

23 lines
519 B
YAML
Raw Normal View History

2020-09-03 23:02:15 +02:00
name: mypy
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
2020-09-03 23:02:15 +02:00
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
2020-09-03 23:02:15 +02:00
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v2.1.3
- name: Install dependencies
run: |
poetry install
- name: Run tests
run: poetry run mypy