Refactored code, unit tests added, GA activated.

This commit is contained in:
2025-03-07 20:54:10 +01:00
parent 1c870374cd
commit a653f0e3d6
9 changed files with 344 additions and 95 deletions

View File

@ -0,0 +1,34 @@
name: PlatformIO flow
run-name: ${{ gitea.actor }} is testing
on:
push:
branches:
- '*'
tags:
- '*'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Configure caching
uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 'pypy3.9'
- name: Install PlatformIO Core
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Run native unit tests
run: |
pio test