Skip to content

Commit

Permalink
chore: Add Github workflow
Browse files Browse the repository at this point in the history
* Activate automatic native (i.e. logic) testing
  • Loading branch information
arcadien committed Oct 16, 2023
1 parent 091d3b7 commit 24e189a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"extensions": [
"ms-vscode.cpptools",
"platformio.platformio-ide"
"xaver.clang-format"
]
}
},
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: PlatformIO CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install PlatformIO Core
run: pip install --upgrade platformio

- name: Test project in native environment
run: pio test -e native

0 comments on commit 24e189a

Please sign in to comment.