mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
github: try to get latest tools using pip
This commit is contained in:
8
.github/workflows/python_checks.yml
vendored
8
.github/workflows/python_checks.yml
vendored
@@ -15,9 +15,11 @@ jobs:
|
|||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
- name: Install Python3
|
||||||
|
run: sudo apt-get install python3 python3-setuptools python3-pip -y
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: sudo apt-get install python-setuptools flake8 mypy -y
|
run: pip3 install --user mypy flake8
|
||||||
- name: Check MAVSDK test scripts with mypy
|
- name: Check MAVSDK test scripts with mypy
|
||||||
run: mypy --strict test/mavsdk_tests/*.py
|
run: $HOME/.local/bin/mypy --strict test/mavsdk_tests/*.py
|
||||||
- name: Check MAVSDK test scripts with flake8
|
- name: Check MAVSDK test scripts with flake8
|
||||||
run: flake8 test/mavsdk_tests/*.py
|
run: $HOME/.local/bin/flake8 test/mavsdk_tests/*.py
|
||||||
|
|||||||
Reference in New Issue
Block a user