Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Add mypy to ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
wkeeling committed Sep 4, 2021
1 parent 6947720 commit 3ef0448
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ jobs:
- run: pip install tox
- run: tox -e flake8

mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v2
- run: python -m pip install --upgrade pip
- run: pip install tox
- run: tox -e mypy

unit_tests:
strategy:
fail-fast: false
Expand Down
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ envlist =
isort
black
flake8
mypy

[testenv]
setenv =
Expand Down Expand Up @@ -34,6 +35,12 @@ deps =
commands =
flake8 seleniumwire

[testenv:mypy]
deps =
mypy
commands =
mypy seleniumwire tests

[testenv:e2e]
commands =
pytest -s -vv --tb=native tests/end2end

0 comments on commit 3ef0448

Please sign in to comment.