mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-14 03:58:35 -05:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
12
.github/workflows/pythonpackage.yml
vendored
12
.github/workflows/pythonpackage.yml
vendored
@@ -21,17 +21,12 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
pip install flake8
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: install coverage
|
||||
run: pip install coverage
|
||||
- name: install mypy
|
||||
run: pip install mypy
|
||||
- name: install pycodestyle
|
||||
run: pip install pycodestyle
|
||||
- name: mypy check
|
||||
run: |
|
||||
find AerialNavigation -name "*.py" | xargs mypy
|
||||
@@ -43,7 +38,10 @@ jobs:
|
||||
find PathPlanning -name "*.py" | xargs mypy
|
||||
find PathTracking -name "*.py" | xargs mypy
|
||||
find SLAM -name "*.py" | xargs mypy
|
||||
- name: do diff style check
|
||||
run: bash rundiffstylecheck.sh
|
||||
- name: do all unit tests
|
||||
run: bash runtests.sh
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user