d2befa2c8d
- Deleted WebServerManager.h and WebServerManager.cpp files to streamline the codebase. - Updated WebServerManager.cpp to improve authentication handling and command validation. - Added command validator functionality to WebServerManager. - Removed old web UI files (index.html, script.js, style.css) as they are no longer needed. - Modified WifiManager to open fallback AP by default to avoid lockout. - Introduced a pre-merge script for automated checks and builds. - Added runtime contract tests for firmware API guards to ensure robustness.
36 lines
787 B
YAML
36 lines
787 B
YAML
name: Firmware CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main, release/stable]
|
|
pull_request:
|
|
branches: [main, release/stable]
|
|
|
|
jobs:
|
|
pre-merge:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Install PlatformIO
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install platformio
|
|
|
|
- name: Run pre-merge gate
|
|
run: ./scripts/pre_merge.sh
|
|
|
|
- name: Upload route parity report
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: route-parity-report
|
|
path: artifacts/route_parity_report.json
|
|
if-no-files-found: warn
|