Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 96 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,55 @@ jobs:
if: runner.os == 'Windows'
run: |
irm https://claude.ai/install.ps1 | iex

Write-Host "=== Debug: Listing all files under .local (with sizes) ==="
$localDir = "$env:USERPROFILE\.local"
if (Test-Path $localDir) {
Get-ChildItem $localDir -Recurse -ErrorAction SilentlyContinue | ForEach-Object {
if ($_.PSIsContainer) {
Write-Host "[DIR] $($_.FullName)"
} else {
Write-Host "[FILE $($_.Length) bytes] $($_.FullName)"
}
}
} else {
Write-Host ".local directory does not exist"
}

Write-Host "=== Debug: Listing all files under .claude ==="
$claudeDir = "$env:USERPROFILE\.claude"
if (Test-Path $claudeDir) {
Get-ChildItem $claudeDir -Recurse -ErrorAction SilentlyContinue | ForEach-Object { Write-Host $_.FullName }
} else {
Write-Host ".claude directory does not exist"
}

Write-Host "=== Debug: Listing all files under .cache\claude ==="
$cacheDir = "$env:USERPROFILE\.cache\claude"
if (Test-Path $cacheDir) {
Get-ChildItem $cacheDir -Recurse -ErrorAction SilentlyContinue | ForEach-Object { Write-Host $_.FullName }
} else {
Write-Host ".cache\claude directory does not exist"
}

# Check if .local\bin is a file or directory
Write-Host "=== Debug: Checking .local\bin type ==="
$binPath = "$env:USERPROFILE\.local\bin"
if (Test-Path $binPath) {
$item = Get-Item $binPath
Write-Host "Path exists: $binPath"
Write-Host "Is directory: $($item.PSIsContainer)"
Write-Host "Type: $($item.GetType().Name)"
if (-not $item.PSIsContainer) {
Write-Host "Size: $($item.Length) bytes"
Write-Host "ERROR: .local\bin is a FILE, not a directory!"
}
} else {
Write-Host ".local\bin does not exist"
}

$claudePath = "$env:USERPROFILE\.local\bin"
echo "$claudePath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Add-Content -Path $env:GITHUB_PATH -Value $claudePath
shell: pwsh

- name: Verify Claude Code installation
Expand Down Expand Up @@ -130,8 +177,55 @@ jobs:
if: runner.os == 'Windows'
run: |
irm https://claude.ai/install.ps1 | iex

Write-Host "=== Debug: Listing all files under .local (with sizes) ==="
$localDir = "$env:USERPROFILE\.local"
if (Test-Path $localDir) {
Get-ChildItem $localDir -Recurse -ErrorAction SilentlyContinue | ForEach-Object {
if ($_.PSIsContainer) {
Write-Host "[DIR] $($_.FullName)"
} else {
Write-Host "[FILE $($_.Length) bytes] $($_.FullName)"
}
}
} else {
Write-Host ".local directory does not exist"
}

Write-Host "=== Debug: Listing all files under .claude ==="
$claudeDir = "$env:USERPROFILE\.claude"
if (Test-Path $claudeDir) {
Get-ChildItem $claudeDir -Recurse -ErrorAction SilentlyContinue | ForEach-Object { Write-Host $_.FullName }
} else {
Write-Host ".claude directory does not exist"
}

Write-Host "=== Debug: Listing all files under .cache\claude ==="
$cacheDir = "$env:USERPROFILE\.cache\claude"
if (Test-Path $cacheDir) {
Get-ChildItem $cacheDir -Recurse -ErrorAction SilentlyContinue | ForEach-Object { Write-Host $_.FullName }
} else {
Write-Host ".cache\claude directory does not exist"
}

# Check if .local\bin is a file or directory
Write-Host "=== Debug: Checking .local\bin type ==="
$binPath = "$env:USERPROFILE\.local\bin"
if (Test-Path $binPath) {
$item = Get-Item $binPath
Write-Host "Path exists: $binPath"
Write-Host "Is directory: $($item.PSIsContainer)"
Write-Host "Type: $($item.GetType().Name)"
if (-not $item.PSIsContainer) {
Write-Host "Size: $($item.Length) bytes"
Write-Host "ERROR: .local\bin is a FILE, not a directory!"
}
} else {
Write-Host ".local\bin does not exist"
}

$claudePath = "$env:USERPROFILE\.local\bin"
echo "$claudePath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Add-Content -Path $env:GITHUB_PATH -Value $claudePath
shell: pwsh

- name: Verify Claude Code installation
Expand Down
Loading