Update submodule libfc-sensor-api to latest Tue Jun 18 12:39:26 UTC 2024 #28371
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python CI Checks | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
token: ${{ secrets.ACCESS_TOKEN }} | |
- name: Install Python3 | |
run: sudo apt-get install python3 python3-setuptools python3-pip -y | |
- name: Install tools | |
run: python3 -m pip install mypy types-requests flake8 --break-system-packages | |
- name: Check MAVSDK test scripts with mypy | |
run: $HOME/.local/bin/mypy --strict test/mavsdk_tests/*.py | |
- name: Check MAVSDK test scripts with flake8 | |
run: $HOME/.local/bin/flake8 test/mavsdk_tests/*.py |