File tree Expand file tree Collapse file tree 1 file changed +28
-9
lines changed Expand file tree Collapse file tree 1 file changed +28
-9
lines changed Original file line number Diff line number Diff line change @@ -3,19 +3,38 @@ name: Check
33on : [push, pull_request]
44
55jobs :
6- build :
6+ unit-tests :
77 runs-on : ${{ matrix.os }}
8+
89 strategy :
9- fail-fast : false
1010 matrix :
11- os : [ubuntu-22.04]
11+ os :
12+ - ubuntu-latest
13+ # - windows-latest
14+ pio_env :
15+ - native
16+ # - Win32
17+ # exclude:
18+ # - os: ubuntu-latest
19+ # pio_env: Win32
20+ # - os: windows-latest
21+ # pio_env: native
22+
1223 steps :
13- -
14- name : Checkout
15- uses : actions/checkout@v3
16- -
17- name : Tests
18- run : make
24+ - uses : actions/checkout@v4
25+
26+ - name : Set up Python
27+ uses : actions/setup-python@v5
28+ with :
29+ python-version : ' 3.11'
30+
31+ - name : Install PlatformIO
32+ run : |
33+ python -m pip install --upgrade pip
34+ pip install --upgrade platformio
35+
36+ - name : Run unit tests
37+ run : platformio test -v -e ${{ matrix.pio_env }}
1938
2039 examples :
2140 runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments