Skip to content

Draft: Restore Stroke Engine #69

Draft: Restore Stroke Engine

Draft: Restore Stroke Engine #69

name: PlatformIO CI
on:
pull_request:
paths:
- 'Software/**'
branches:
- master
- release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO Project
run: |
cd Software
pio run -e development
- name: Check PlatformIO Project
run: |
cd Software
pio check --skip-packages --fail-on-defect high -e development -f src
- name: Unit Test PlatformIO Project
run: |
cd Software
pio test -e test