Skip to content

refactor(profile): 移除 PowerShell 5.1 兼容并优化配置结构 #589

refactor(profile): 移除 PowerShell 5.1 兼容并优化配置结构

refactor(profile): 移除 PowerShell 5.1 兼容并优化配置结构 #589

Triggered via push February 10, 2026 15:12
Status Failure
Total duration 1m 27s
Artifacts

test.yml

on: push
Node Vitest (Ubuntu)
16s
Node Vitest (Ubuntu)
Matrix: pester-test
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 1 warning
Run Pester on ubuntu-latest
Failed test were found and 'fail-on-error' option is set to true
Run Pester on ubuntu-latest
Process completed with exit code 1.
Run Pester on ubuntu-latest
[-] Should fallback to domain if title fetch fails 2ms (2ms|0ms)
Run Pester on ubuntu-latest
[-] Should auto-resolve name from URL when Name is missing 8ms (8ms|1ms)
Run Pester on ubuntu-latest
[-] Sync-PathFromBash basic behavior.should return object with fields when ReturnObject=true 12ms (12ms|1ms)
Run Pester on ubuntu-latest
[-] Switch-Mirrors.ps1.测试不可达地址返回 Success 为 false 6ms (6ms|1ms)
Run Pester on ubuntu-latest
[-] Switch-Mirrors.ps1.测试镜像探活应返回 Success 为 true(官方仓库) 57ms (40ms|17ms)
Run Pester on ubuntu-latest
[-] Discovery in /home/runner/work/powershellScripts/powershellScripts/tests/ProfileMode.Tests.ps1 failed with:
Run Pester on macos-latest
Failed test were found and 'fail-on-error' option is set to true
Run Pester on macos-latest
Process completed with exit code 1.
Run Pester on macos-latest
[-] Should fallback to domain if title fetch fails 6ms (6ms|0ms)
Run Pester on macos-latest
[-] Should auto-resolve name from URL when Name is missing 6ms (6ms|0ms)
Run Pester on macos-latest
[-] Sync-PathFromBash basic behavior.should return object with fields when ReturnObject=true 8ms (8ms|0ms)
Run Pester on macos-latest
[-] Switch-Mirrors.ps1.测试不可达地址返回 Success 为 false 13ms (13ms|0ms)
Run Pester on macos-latest
[-] Switch-Mirrors.ps1.测试镜像探活应返回 Success 为 true(官方仓库) 38ms (29ms|9ms)
Run Pester on macos-latest
System.Management.Automation.RuntimeException: The script failed due to call depth overflow.
Run Pester on windows-latest
No test report files were found
Run Pester on windows-latest
Process completed with exit code -1073741571.
Run Pester on windows-latest
No file matches path testResults.xml