Skip to content

Commit 13b24d4

Browse files
committed
wax on
1 parent 157b87f commit 13b24d4

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/run-zwave-wsl.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
shell: wsl-bash {0}
3232
run: chmod +x zwave_stack/*.elf
3333

34-
- name: Start Z-Wave stack and verify output
34+
- name: Start Z-Wave stack with nohup
3535
shell: wsl-bash {0}
3636
run: |
37-
# Start the Z-Wave stack and capture output
38-
bash ./start-zwave-stack.sh > /tmp/zwave-output.log 2>&1 &
37+
# Start the Z-Wave stack with nohup so processes survive shell exit
38+
nohup bash ./start-zwave-stack.sh > /tmp/zwave-output.log 2>&1 &
3939
40-
# Wait for services to start
40+
# Wait for services to start and bind ports
4141
sleep 5
4242
4343
# Show the output
@@ -51,6 +51,10 @@ jobs:
5151
exit 1
5252
fi
5353
54+
# Verify ports are listening in WSL
55+
echo "Checking ports in WSL..."
56+
ss -tlnp | grep -E "500[0-4]" || echo "Warning: ports not showing in ss"
57+
5458
- name: Test TCP connection from Windows
5559
shell: powershell
5660
run: |

0 commit comments

Comments
 (0)