Skip to content

max7456: add stat polling to read/write #89

max7456: add stat polling to read/write

max7456: add stat polling to read/write #89

Workflow file for this run

name: test
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v4
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/platformio.ini') }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Install PlatformIO libraries
run: pio lib install
- name: Run tests
run: pio test -e test_native
- name: Upload test results
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-results
path: .pio/build/test_native/test/