Drones config #35
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: Lint Drones | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
- name: Upgrade pip and setuptools | |
run: pip install --upgrade pip setuptools | |
- name: Install test requirements | |
run: pip install -e .[dev] | |
- name: Mypy type check | |
run: mypy drones/ | |
- name: Black syntax check | |
run: black --check drones/ |