Fix default I²C pins with Pin Control definitions #29
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: Check | |
on: [push, pull_request] | |
jobs: | |
python: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.8, 3.9, "3.10"] | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install requirements | |
run: pip3 install black bleak construct flake8 isort Pillow pylint | |
- name: Check code | |
run: ./scripts/check_python.sh | |
c: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Install requirements | |
run: | | |
sudo apt update | |
sudo apt install clang-format | |
- name: Check code | |
run: ./scripts/check_c.sh |