File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 10
10
- uses : actions/checkout@v4
11
11
- name : Cppcheck
12
12
run : |
13
- pio check --flags "--suppress=unusedFunction --inline-suppr" --skip-packages --fail-on-defect=low --fail-on-defect=medium --fail-on-defect=high
13
+ pio check --fail-on-defect=medium --fail-on-defect=high --flags "-- inline-suppr --enable=warning --enable=style --enable=performance --suppress=unusedFunction --suppress=preprocessorErrorDirective" --skip-packages
Original file line number Diff line number Diff line change 1
- name : Cpplint
1
+ name : cpplint
2
2
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
6
build :
7
+
7
8
runs-on : ubuntu-latest
9
+
8
10
steps :
9
11
- uses : actions/checkout@v4
10
12
- name : Set up Python
13
15
python-version : ' 3.11'
14
16
- name : Install dependencies
15
17
run : |
18
+ python -m pip install --upgrade pip
16
19
pip install cpplint
17
20
- name : Linting
18
21
run : |
Original file line number Diff line number Diff line change 6
6
build :
7
7
8
8
runs-on : ubuntu-latest
9
+ container : ghcr.io/bertmelis/pio-test-container
9
10
10
11
steps :
11
- - uses : actions/checkout@v3
12
- - name : Set up Python
13
- uses : actions/setup-python@v4
14
- with :
15
- python-version : ' 3.10'
16
- - name : Install dependencies
17
- run : |
18
- python -m pip install --upgrade pip
19
- pip install platformio
20
- sudo apt-get install lcov
12
+ - uses : actions/checkout@v4
21
13
- name : Test
22
14
run : |
23
15
pio test -e native -v
You can’t perform that action at this time.
0 commit comments