From 1d4f43d7aed77187404be06c51859ede3142eab3 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Sun, 17 Mar 2024 21:19:03 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20Adds=20platformio=20build=20gate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pio-build.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/pio-build.yml diff --git a/.github/workflows/pio-build.yml b/.github/workflows/pio-build.yml new file mode 100644 index 0000000..96c2084 --- /dev/null +++ b/.github/workflows/pio-build.yml @@ -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 \ No newline at end of file