1 parent 00ab095 commit e849383Copy full SHA for e849383
1 file changed
.github/workflows/tests.yml
@@ -1,17 +1,24 @@
1
name: C++ local tests
2
3
-on:
4
- push:
5
- branches: [ "master" ]
6
- pull_request:
7
+on: [push]
8
9
jobs:
10
build:
11
-
12
runs-on: ubuntu-latest
13
14
steps:
15
- - uses: actions/checkout@v4
16
- - name: make local_test
17
- run: make local_test
+ - uses: actions/checkout@v4
+ - uses: actions/cache@v4
+ with:
+ path: |
+ ~/.cache/pip
+ ~/.platformio/.cache
+ key: ${{ runner.os }}-pio
+ - uses: actions/setup-python@v5
18
19
+ python-version: '3.11'
20
+ - name: Install PlatformIO Core
21
+ run: pip install --upgrade platformio
22
+
23
+ - name: Build PlatformIO Project
24
+ run: make local_test
0 commit comments