Skip to content

Add test with the installation script since Python installation might… #15

Add test with the installation script since Python installation might…

Add test with the installation script since Python installation might… #15

name: esptool as a pio tool
on: push
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: |
wget -O get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
python3 get-platformio.py
- name: Build firmware
run: ~/.platformio/penv/bin/pio pkg exec --package "platformio/tool-esptoolpy" -- esptool version