Skip to content

Merge pull request #30 from jniebuhr/feature/start-ota-replacement #155

Merge pull request #30 from jniebuhr/feature/start-ota-replacement

Merge pull request #30 from jniebuhr/feature/start-ota-replacement #155

Workflow file for this run

on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Run static code analysis for display
continue-on-error: true
run: platformio check -e display --fail-on-defect=medium -f "-<*>" -f "+<src/display/>" -f "-<src/display/ui>"
- name: Run static code analysis for controller
run: platformio check -e controller --fail-on-defect=medium -f "-<*>" -f "+<src/controller/>"