Add mypy to CI.
This commit is contained in:
parent
aa184593f8
commit
2f6bf14120
|
@ -3,6 +3,15 @@ name: Test tesla_api
|
||||||
on: pull_request
|
on: pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
mypy:
|
||||||
|
name: Check annotations with Mypy
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
- run: pip install aiohttp mypy
|
||||||
|
- run: mypy
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: Tests
|
name: Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue