Files
RTC_BL_PHONE/.github/workflows/ci.yml
T
2026-02-21 00:17:33 +01:00

38 lines
886 B
YAML

name: Firmware CI
on:
push:
branches: [main, develop, dev, audit/**]
pull_request:
branches: [main, develop, dev, audit/**]
jobs:
build-and-test:
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: Check Web Route Parity
run: python3 scripts/check_web_route_parity.py
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Validate hw runner syntax
run: python -m py_compile scripts/hw_validation.py
- name: Build firmware
run: platformio run -e esp32dev
- name: Build unit tests (no upload)
run: platformio test --without-uploading --without-testing -e esp32dev