move CI from travis to GitHub actions

This commit is contained in:
proddy
2020-09-15 21:21:27 +02:00
parent d2b4fd59ff
commit d1dfb370bf
10 changed files with 255 additions and 63 deletions

33
.github/workflows/EMS-ESP_CI.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
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