make sure all the python tools are installed. #2042
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 | |
on: | |
push: | |
branches-ignore: | |
- 'main' | |
- 'docs' | |
jobs: | |
clang-format: | |
runs-on: ubuntu-20.04 # latest | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v2 | |
- name: clang-format lint | |
uses: DoozyX/[email protected] | |
with: | |
# List of extensions to check | |
extensions: c,h | |
autopep8: | |
runs-on: ubuntu-20.04 # latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v2 | |
- name: Build and Test | |
run: | | |
python3 -m pip install --upgrade setuptools | |
python3 -m pip install --upgrade wheel | |
python3 -m pip install --upgrade autopep8 | |
python3 -m autopep8 --exit-code --diff --recursive awscrt test .builder setup.py |