File tree Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 46
46
- name : Build examples
47
47
run : |
48
48
pio run -d ${{ matrix.example }}
49
- - name : Build unit tests
50
- run : |
51
- pio test -d "examples/espidf-hello-world" -e esp32dev --without-uploading --without-testing
Original file line number Diff line number Diff line change
1
+ name : " Unit Testing"
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ strategy :
8
+ fail-fast : false
9
+ matrix :
10
+ os : [ubuntu-latest, windows-latest, macos-latest]
11
+ python-version : [3.7]
12
+ example :
13
+ - " examples/espidf-hello-world"
14
+ runs-on : ${{ matrix.os }}
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ with :
18
+ submodules : " recursive"
19
+ - name : Set up Python ${{ matrix.python-version }}
20
+ uses : actions/setup-python@v3
21
+ with :
22
+ python-version : ${{ matrix.python-version }}
23
+ - name : Install dependencies
24
+ run : |
25
+ python -m pip install --upgrade pip
26
+ pip install -U https://github.com/platformio/platformio/archive/develop.zip
27
+ pio pkg install --global --platform symlink://.
28
+ - name : Build test
29
+ run : |
30
+ pio test -d ${{ matrix.example }} --without-uploading --without-testing
You can’t perform that action at this time.
0 commit comments