Skip to content

Commit c9a8f43

Browse files
committed
Try again with SDSIO-Server control file
1 parent f10dc1b commit c9a8f43

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/Run_RPS_AppKit-E8.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,13 @@ jobs:
5050
path: ./RockPaperScissors/AppKit-E8_USB/out
5151

5252
- name: Start the SDSIO server on the Raspberry Pi
53-
working-directory: ./RockPaperScissors/AppKit-E8_USB
5453
run: |
55-
if ! pgrep -f "sdsio-server.py --control SDS.sdsio.yml" > /dev/null; then
56-
nohup python ~/../../SDS-Framework/utilities/sdsio-server.py --control SDS.sdsio.yml > ./sdsio-server.log 2>&1 &
54+
if ! pgrep -f "sdsio-server.py --control ./RockPaperScissors/AppKit-E8_USBSDS.sdsio.yml" > /dev/null; then
55+
nohup python ~/SDS-Framework/utilities/sdsio-server.py --control ./RockPaperScissors/AppKit-E8_USB/SDS.sdsio.yml > ./RockPaperScissors/AppKit-E8_USB/out/sdsio-server.log 2>&1 &
5756
sleep 2
5857
fi
59-
pgrep -f "sdsio-server.py --control SDS.sdsio.yml"
60-
tail -n 20 ./sdsio-server.log || true
58+
pgrep -f "sdsio-server.py --control ./RockPaperScissors/AppKit-E8_USB/SDS.sdsio.yml"
59+
tail -n 20 ./RockPaperScissors/AppKit-E8_USB/out/sdsio-server.log || true
6160
6261
- name: Flash using pyOCD
6362
working-directory: ./RockPaperScissors/AppKit-E8_USB
@@ -71,7 +70,7 @@ jobs:
7170
7271
- name: Stop the SDSIO server on the Raspberry Pi
7372
run: |
74-
PIDS=$(pgrep -f "sdsio-server.py --control SDS.sdsio.yml") || true
73+
PIDS=$(pgrep -f "sdsio-server.py --control ./RockPaperScissors/AppKit-E8_USB/SDS.sdsio.yml") || true
7574
if [ -n "$PIDS" ]; then
7675
echo "Stopping SDSIO server (PIDs: $PIDS)"
7776
kill $PIDS
@@ -82,4 +81,4 @@ jobs:
8281
- name: Show content of the sdsio-server.log file
8382
working-directory: ./RockPaperScissors/AppKit-E8_USB
8483
run: |
85-
cat ./sdsio-server.log
84+
cat ./out/sdsio-server.log

0 commit comments

Comments
 (0)