🧪 Adds platformio build gate

This commit is contained in:
Rune Harlyk
2024-03-17 21:19:03 +01:00
committed by Rune Harlyk
parent 7edf8792f8
commit 1d4f43d7ae
+31
View File
@@ -0,0 +1,31 @@
name: Frontend Tests
on:
push:
branches: [ master ]
paths:
- 'esp32/**'
pull_request:
branches: [ master ]
paths:
- 'esp32/**'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./esp32
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install PlatformIO
run: pip install platformio
- name: Run PlatformIO Test
run: pio test -e esp32cam