Skip to content

Commit 93b59ac

Browse files
committed
chore: print firewall status
1 parent a97553f commit 93b59ac

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/ui-tests.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,21 @@ jobs:
9393
cancel-in-progress: false # Let tests complete rather than cancelling
9494
if: github.event_name != 'workflow_dispatch' || github.event.inputs.targetPlatform == 'All' || github.event.inputs.targetPlatform == 'StandaloneOSX-Unity6'
9595
steps:
96+
- name: Check runner environment and firewall
97+
run: |
98+
echo "=== macOS version ==="
99+
sw_vers
100+
echo ""
101+
echo "=== Firewall status ==="
102+
/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
103+
/usr/libexec/ApplicationFirewall/socketfilterfw --getallowsigned
104+
/usr/libexec/ApplicationFirewall/socketfilterfw --getallowsignedapp
105+
echo ""
106+
echo "=== Firewall app allow list ==="
107+
/usr/libexec/ApplicationFirewall/socketfilterfw --listapps
108+
echo ""
109+
echo "=== Port 13000 ==="
110+
lsof -i :13000 2>/dev/null || echo "Port 13000 is free"
96111
- name: Cleanup old builds
97112
run: |
98113
# Remove previous build to save space

0 commit comments

Comments
 (0)