31 lines
579 B
YAML
31 lines
579 B
YAML
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 |