Skip to content

test: handle known OpenClaw Windows bug gracefully #9

test: handle known OpenClaw Windows bug gracefully

test: handle known OpenClaw Windows bug gracefully #9

Workflow file for this run

name: Windows Compatibility Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test-windows:
name: Verify Windows Status (OpenClaw CLI Bug)
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install OpenClaw
run: npm install -g openclaw@latest
shell: powershell
- name: Clean test environment
run: |
if (Test-Path "$env:USERPROFILE\.openclaw") {
Remove-Item -Recurse -Force "$env:USERPROFILE\.openclaw"
}
shell: powershell
- name: Run Windows tests
run: |
powershell -ExecutionPolicy Bypass -File test/test-model-selection.ps1
shell: powershell
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: windows-test-results
path: |
${{ env.USERPROFILE }}\.openclaw\openclaw.json