CovidBracelet/.github/workflows/main.yaml

31 lines
729 B
YAML
Raw Normal View History

2020-08-18 23:16:02 +02:00
name: PlatformIO CI
on: [push]
jobs:
build:
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 platformio
- name: Run PlatformIO Build
run: platformio run --environment nrf52840_dk
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
2020-08-18 23:17:53 +02:00
uses: actions/setup-python@v1
2020-08-18 23:16:02 +02:00
- name: Install dependencies
2020-08-18 23:17:53 +02:00
run: |
2020-08-18 23:16:02 +02:00
python -m pip install --upgrade pip
pip install platformio
- name: Run PlatformIO Tests
2020-08-18 23:17:53 +02:00
run: platformio test --environment desktop