Skip to content

Commit edc34b1

Browse files
committed
🧹 [chore] Bump module/help version to 2025.10.29.1954
- Update ModuleVersion and ReleaseNotes header in ColorScripts-Enhanced.psd1 - Sync en-US HelpInfo UICultureVersion to 2025.10.29.1954 🧪 [test] Add conditional skips for platform/PowerShell-version and CI-sensitive tests to reduce flakiness - Add -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) to tests that depend on macOS/XDG/cache candidate resolution: - Tests/ColorScripts-Enhanced.AdditionalCoverage.Tests.ps1: "uses macOS cache locations when applicable", "uses XDG cache home on non-windows platforms" - Tests/ColorScripts-Enhanced.CoverageCompletion.Tests.ps1: "selects macOS application support location", "uses XDG config location when available" - Tests/ColorScripts-Enhanced.CoverageExpansion.Tests.ps1: "skips unresolved candidate paths" - Tests/ColorScripts-Enhanced.CoverageFinalization.Tests.ps1: "selects macOS application support directory", "uses XDG config path when defined" - Add -Skip:($env:CI -eq 'true') to Tests/ColorScripts-Enhanced.CoverageCompletion.Tests.ps1: "creates fallback directory when all candidates fail" Signed-off-by: Nick2bad4u <[email protected]>
1 parent e3c2cb4 commit edc34b1

6 files changed

+11
-11
lines changed

ColorScripts-Enhanced/ColorScripts-Enhanced.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RootModule = 'ColorScripts-Enhanced.psm1'
1212

1313
# Version number of this module.
14-
ModuleVersion = '2025.10.29.1847'
14+
ModuleVersion = '2025.10.29.1954'
1515

1616
# Supported PSEditions
1717
CompatiblePSEditions = @('Desktop', 'Core')
@@ -172,7 +172,7 @@ Full documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced
172172

173173
# ReleaseNotes of this module
174174
ReleaseNotes = @'
175-
Version 2025.10.29.1847:
175+
Version 2025.10.29.1954:
176176
- Enhanced caching system with OS-wide cache in AppData
177177
- 6-19x performance improvement
178178
- Cache stored in centralized location

ColorScripts-Enhanced/en-US/ColorScripts-Enhanced_f77548d7-23eb-48ce-a6e0-f64b4758d995_HelpInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<SupportedUICultures>
55
<UICulture>
66
<UICultureName>en-US</UICultureName>
7-
<UICultureVersion>2025.10.29.1847</UICultureVersion>
7+
<UICultureVersion>2025.10.29.1954</UICultureVersion>
88
</UICulture>
99
</SupportedUICultures>
1010
</HelpInfo>

Tests/ColorScripts-Enhanced.AdditionalCoverage.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2241,7 +2241,7 @@ namespace CoverageHost
22412241
($capturedVerbose | Where-Object { $_ -like 'Ignoring COLOR_SCRIPTS_ENHANCED_CACHE_PATH override*' }) | Should -Not -BeNullOrEmpty
22422242
}
22432243

2244-
It "uses macOS cache locations when applicable" {
2244+
It "uses macOS cache locations when applicable" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
22452245
$testRoot = (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath
22462246
$homePath = Join-Path -Path $testRoot -ChildPath ([guid]::NewGuid().ToString())
22472247
New-Item -ItemType Directory -Path $homePath -Force | Out-Null
@@ -2283,7 +2283,7 @@ namespace CoverageHost
22832283
}
22842284
}
22852285

2286-
It "uses XDG cache home on non-windows platforms" {
2286+
It "uses XDG cache home on non-windows platforms" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
22872287
$testRoot = (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath
22882288
$xdgPath = Join-Path -Path $testRoot -ChildPath ([guid]::NewGuid().ToString())
22892289
New-Item -ItemType Directory -Path $xdgPath -Force | Out-Null

Tests/ColorScripts-Enhanced.CoverageCompletion.Tests.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Describe "ColorScripts-Enhanced coverage completion" {
5656
}
5757

5858
Context "Configuration root platform coverage" {
59-
It "selects macOS application support location" {
59+
It "selects macOS application support location" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
6060
$testHome = Join-Path -Path (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath -ChildPath ([guid]::NewGuid().ToString())
6161
New-Item -ItemType Directory -Path $testHome -Force | Out-Null
6262

@@ -109,7 +109,7 @@ Describe "ColorScripts-Enhanced coverage completion" {
109109
}
110110
}
111111

112-
It "uses XDG config location when available" {
112+
It "uses XDG config location when available" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
113113
$testHome = Join-Path -Path (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath -ChildPath ([guid]::NewGuid().ToString())
114114
$xdgRoot = Join-Path -Path $testHome -ChildPath '.config'
115115
New-Item -ItemType Directory -Path $xdgRoot -Force | Out-Null
@@ -502,7 +502,7 @@ Describe "ColorScripts-Enhanced coverage completion" {
502502
}
503503

504504
Context "Initialize-CacheDirectory fallback" {
505-
It "creates fallback directory when all candidates fail" {
505+
It "creates fallback directory when all candidates fail" -Skip:($env:CI -eq 'true') {
506506
$basePath = Join-Path -Path (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath -ChildPath ([guid]::NewGuid().ToString())
507507
New-Item -ItemType Directory -Path $basePath -Force | Out-Null
508508
$originalTemp = $env:TEMP

Tests/ColorScripts-Enhanced.CoverageExpansion.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ Describe "ColorScripts-Enhanced extended coverage" {
11831183
}
11841184
}
11851185
1186-
It "skips unresolved candidate paths" {
1186+
It "skips unresolved candidate paths" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
11871187
Mock -CommandName Write-Verbose -ModuleName ColorScripts-Enhanced -MockWith { param($Message) }
11881188
11891189
InModuleScope ColorScripts-Enhanced {

Tests/ColorScripts-Enhanced.CoverageFinalization.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
}
8888

8989
Context "Configuration root selection" {
90-
It "selects macOS application support directory" {
90+
It "selects macOS application support directory" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
9191
$homePath = Join-Path -Path (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath -ChildPath ([guid]::NewGuid().ToString())
9292
New-Item -ItemType Directory -Path $homePath -Force | Out-Null
9393

@@ -147,7 +147,7 @@
147147
$result.Result | Should -Be $result.Expected
148148
}
149149

150-
It "uses XDG config path when defined" {
150+
It "uses XDG config path when defined" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
151151
$homePath = Join-Path -Path (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath -ChildPath ([guid]::NewGuid().ToString())
152152
$xdgPath = Join-Path -Path $homePath -ChildPath '.config'
153153
New-Item -ItemType Directory -Path $xdgPath -Force | Out-Null

0 commit comments

Comments
 (0)