Skip to content

Commit 9c0bb96

Browse files
Copilotnetmindz
andcommitted
Add debug step to verify WOKWI_CLI_TOKEN is set before running simulator
Co-authored-by: netmindz <[email protected]>
1 parent ae0b312 commit 9c0bb96

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/wokwi-test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,18 @@ jobs:
6464
- name: Install Playwright browsers
6565
run: npx playwright install --with-deps chromium
6666

67+
- name: Debug - Verify token is set
68+
run: |
69+
if [ -z "$WOKWI_CLI_TOKEN" ]; then
70+
echo "❌ ERROR: WOKWI_CLI_TOKEN is not set"
71+
echo "Please configure WOKWI_CLI_TOKEN as a repository secret"
72+
exit 1
73+
else
74+
echo "✅ WOKWI_CLI_TOKEN is set (length: ${#WOKWI_CLI_TOKEN} characters)"
75+
fi
76+
env:
77+
WOKWI_CLI_TOKEN: ${{ secrets.WOKWI_CLI_TOKEN }}
78+
6779
- name: Start Wokwi simulator in background
6880
env:
6981
WOKWI_CLI_TOKEN: ${{ secrets.WOKWI_CLI_TOKEN }}

0 commit comments

Comments
 (0)