File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 6666
6767 - name : Run tests on unix dev
6868 run : |
69- ./scripts/ tests/check_syntax.sh
69+ ./tests/check_syntax.sh
7070 continue-on-error : true
7171
7272 - name : Upload built binary as artifact
Original file line number Diff line number Diff line change 3535
3636 - name : Run tests on macOS dev
3737 run : |
38- ./scripts/ tests/check_syntax.sh
38+ ./tests/check_syntax.sh
3939 continue-on-error : true
4040
4141 - name : Upload built binary as artifact
Original file line number Diff line number Diff line change 11#! /bin/bash
22mydir=$( readlink -f " $0 " )
33mydir=$( dirname " $mydir " )
4- fs=" $mydir " /../../ internal_filesystem/
5- cross=" $mydir " /../../ lvgl_micropython/lib/micropython/mpy-cross/build/mpy-cross
4+ fs=" $mydir " /../internal_filesystem/
5+ cross=" $mydir " /../lvgl_micropython/lib/micropython/mpy-cross/build/mpy-cross
66
77failed=0
88while read file; do
@@ -17,4 +17,7 @@ done < <(find "$fs" -iname "*.py")
1717if [ $failed -ne 0 ]; then
1818 echo " ERROR: $failed .py files have syntax errors"
1919 exit 1
20+ else
21+ echo " GOOD: no .py files have syntax errors"
22+ exit 0
2023fi
You can’t perform that action at this time.
0 commit comments