File tree Expand file tree Collapse file tree 1 file changed +31
-2
lines changed Expand file tree Collapse file tree 1 file changed +31
-2
lines changed Original file line number Diff line number Diff line change 8
8
strategy :
9
9
fail-fast : false
10
10
matrix :
11
- os : [ubuntu-20.04]
11
+ os : [ubuntu-20.04, ubuntu-22.04 ]
12
12
steps :
13
13
-
14
14
name : Checkout
15
- uses : actions/checkout@v2
15
+ uses : actions/checkout@v3
16
16
-
17
17
name : Tests
18
18
run : make
19
+
20
+ examples :
21
+ runs-on : ${{ matrix.os }}
22
+ strategy :
23
+ fail-fast : false
24
+ matrix :
25
+ os : [ubuntu-20.04, ubuntu-22.04]
26
+ example : [mock-injection, wiring-blink]
27
+ steps :
28
+ -
29
+ name : Checkout
30
+ uses : actions/checkout@v3
31
+ -
32
+ uses : actions/cache@v3
33
+ with :
34
+ path : |
35
+ ~/.cache/pip
36
+ ~/.platformio/.cache
37
+ key : ${{ runner.os }}-pio
38
+ -
39
+ uses : actions/setup-python@v4
40
+ with :
41
+ python-version : ' 3.9'
42
+ -
43
+ name : Install PlatformIO Core
44
+ run : pip install --upgrade platformio
45
+ -
46
+ name : Tests
47
+ run : pio test -d examples/wiring-blink/
You can’t perform that action at this time.
0 commit comments