Skip to content

Commit 22f79f4

Browse files
committed
test(gha): test live scoop auto-installations for bat, fzf, ripgrep, and zoxide
1 parent 6b845d8 commit 22f79f4

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

test-data/test-config-gha.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,17 @@ extensions:
2323
starship:
2424
settings:
2525
add_newline: false
26+
bat:
27+
settings:
28+
theme: "TwoDark"
29+
fzf:
30+
settings:
31+
default_options: "--height 40% --layout=reverse"
32+
ripgrep:
33+
settings:
34+
max_columns: 150
35+
zoxide:
36+
settings:
37+
cmd: "z"
38+
2639

test-data/verify-gha.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,10 @@ if (Test-Path $starshipPath) {
5353
Assert-True ($starshipContent -match "add_newline = false"), "Starship configuration should have add_newline = false"
5454
}
5555

56+
# 8. Verify Scoop applications were auto-installed by WinHome
57+
Assert-True (Test-Path "C:\scoop\apps\bat"), "bat app directory should exist under Scoop"
58+
Assert-True (Test-Path "C:\scoop\apps\fzf"), "fzf app directory should exist under Scoop"
59+
Assert-True (Test-Path "C:\scoop\apps\ripgrep"), "ripgrep app directory should exist under Scoop"
60+
Assert-True (Test-Path "C:\scoop\apps\zoxide"), "zoxide app directory should exist under Scoop"
61+
5662
exit $global:exitCode

0 commit comments

Comments
 (0)