mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-10 01:39:54 +03:00
34 lines
687 B
YAML
34 lines
687 B
YAML
name: EMS-ESP CI
|
|
|
|
# Controls when the action will run. Triggers the workflow on push or pull request
|
|
# events but only for the master branch
|
|
#on:
|
|
# push:
|
|
# branches: [ main ]
|
|
# pull_request:
|
|
# branches: [ main ]
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
emsesp:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -U platformio
|
|
# platformio upgrade --dev
|
|
platformio upgrade
|
|
platformio update
|
|
- name: Run PlatformIO
|
|
run: |
|
|
platformio run
|
|
|
|
|
|
|