add mypy unit test (#621)

* add mypy unit test

* add mypy unit test

* add mypy unit test
This commit is contained in:
Atsushi Sakai
2022-01-09 00:01:29 +09:00
committed by GitHub
parent a13ef29dc4
commit 82d97cef94
5 changed files with 58 additions and 37 deletions

View File

@@ -28,21 +28,6 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: install coverage
run: pip install coverage
- name: install mypy
run: pip install mypy
- name: mypy check
run: |
mypy -p AerialNavigation
mypy -p ArmNavigation
mypy -p Bipedal
mypy -p Control
mypy -p Localization
mypy -p Mapping
mypy -p PathPlanning
mypy -p PathTracking
mypy -p SLAM
- name: do all unit tests
run: bash runtests.sh

View File

@@ -35,20 +35,5 @@ jobs:
python -m pip install --upgrade pip
pip install numpy # cvxpy install workaround
pip install -r requirements.txt
- name: install coverage
run: pip install coverage
- name: install mypy
run: pip install mypy
- name: mypy check
run: |
mypy -p AerialNavigation
mypy -p ArmNavigation
mypy -p Bipedal
mypy -p Control
mypy -p Localization
mypy -p Mapping
mypy -p PathPlanning
mypy -p PathTracking
mypy -p SLAM
- name: do all unit tests
run: bash runtests.sh