Skip to content

docs: adicionar Diário de Bordo ao CLAUDE.md para preservar contexto #19

docs: adicionar Diário de Bordo ao CLAUDE.md para preservar contexto

docs: adicionar Diário de Bordo ao CLAUDE.md para preservar contexto #19

Workflow file for this run

# ==============================================
# ECOBIN CI Pipeline
# ==============================================
# Validates Python code (gateway) and Arduino
# sketches on every push and pull request.
name: ECOBIN CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
# ── Python Gateway Validation ──────────────
gateway-lint:
name: 🐍 Gateway (Python Lint)
runs-on: ubuntu-latest
defaults:
run:
working-directory: gateway
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 black
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# Stop build on syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# Warnings (non-blocking)
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=120 --statistics
- name: Check formatting with black
run: |
black --check --diff .
# ── Arduino Firmware Compilation ───────────
firmware-build:
name: 🔧 Firmware (Arduino Compile)
runs-on: ubuntu-latest
strategy:
matrix:
include:
- sketch: firmware/esp32_cam/esp32_cam.ino
fqbn: esp32:esp32:esp32cam
name: ESP32-CAM
- sketch: firmware/esp32_contentor/esp32_contentor.ino
fqbn: esp32:esp32:esp32
name: ESP32-WROOM
- sketch: firmware/arduino_interface/arduino_interface.ino
fqbn: arduino:renesas_uno:unor4wifi
name: Arduino R4 WiFi
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Compile ${{ matrix.name }}
uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.fqbn }}
sketch-paths: ${{ matrix.sketch }}
libraries: |
- name: PubSubClient
- name: ArduinoJson
- name: Adafruit NeoPixel
- name: Adafruit SSD1306
- name: Stepper
# ── Documentation Check ────────────────────
docs-check:
name: 📝 Documentation Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check README exists
run: test -f README.md
- name: Check CLAUDE.md exists
run: test -f CLAUDE.md
- name: Check LICENSE exists
run: test -f LICENSE