File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ mkdir ${HOME}/Arduino/libraries
18
18
19
19
# install arduino IDE
20
20
export PATH=$PATH :$GITHUB_WORKSPACE /bin
21
- curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh -s 0.18.3 2>&1
21
+ curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
22
22
arduino-cli config init > /dev/null
23
23
arduino-cli core update-index > /dev/null
Original file line number Diff line number Diff line change @@ -335,13 +335,14 @@ def test_examples_in_folder(folderpath):
335
335
336
336
proc = subprocess .Popen (cmd , stdout = subprocess .PIPE ,
337
337
stderr = subprocess .PIPE )
338
- r = proc .wait (timeout = 60 )
339
- out = proc .stdout .read ()
340
- err = proc .stderr .read ()
341
- #print(cmd)
342
- #print(r)
343
- #ColorPrint.print_info(out.decode("utf-8"))
344
- #ColorPrint.print_info(err.decode("utf-8"))
338
+ try :
339
+ out , err = proc .communicate (timeout = 60 )
340
+ r = proc .returncode
341
+ except :
342
+ proc .kill ()
343
+ out , err = proc .communicate ()
344
+ r = 1
345
+
345
346
if r == 0 and not (err and BUILD_WALL == True ):
346
347
ColorPrint .print_pass (CHECK )
347
348
if err :
You can’t perform that action at this time.
0 commit comments