mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-10-28 11:14:58 +00:00
33 lines
651 B
YAML
33 lines
651 B
YAML
name: 'Pre-check on PR'
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches: dev
|
|
paths:
|
|
- 'src/**'
|
|
|
|
jobs:
|
|
pre-release:
|
|
name: 'Automatic pre-release build'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Install python 3.13
|
|
uses: actions/setup-python@v7
|
|
with:
|
|
python-version: '3.13'
|
|
|
|
- name: Install pioarduino
|
|
run: |
|
|
pip install wheel
|
|
pip install -U "pioarduino==6.2.0"
|
|
|
|
- name: Run unit tests
|
|
run: |
|
|
platformio run -e native-test -t exec
|