File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 67
67
with :
68
68
name : ModuleBuilder
69
69
path : Modules/ModuleBuilder
70
+ - name : Put ModuleBuilder in PATH
71
+ shell : pwsh
72
+ run : Add-Content -Path $env:GITHUB_PATH -Value (Convert-Path Modules/ModuleBuilder) -Encoding utf8
70
73
- name : Download Pester Tests
71
74
uses : actions/download-artifact@v4
72
75
with :
Original file line number Diff line number Diff line change @@ -9,10 +9,18 @@ Describe "Parameters" -Tag Integration {
9
9
}
10
10
# Throw in an extra file that would get cleaned up normally ...
11
11
New-Item $PSScriptRoot / Result3/ Parameters/ 3.0 .0 / DeleteMe.md - ItemType File - Force
12
+
13
+ Write-Host " Module Under Test:"
14
+ Get-Command Build-Module
15
+ | Get-Module - Name { $_.Source }
16
+ | Get-Item
17
+ | Out-Host
12
18
}
13
19
14
20
It " Passthru is read from the build manifest" {
15
- $Output = Build-Module (Convert-FolderSeparator " $PSScriptRoot /Parameters/build.psd1" ) - Verbose
21
+ Build-Module (Convert-FolderSeparator " $PSScriptRoot /Parameters/build.psd1" ) - Verbose - OutVariable Output
22
+ | Out-Host
23
+
16
24
$Output | Should -Not - BeNullOrEmpty
17
25
$Output.Path | Convert-FolderSeparator | Should - Be (Convert-FolderSeparator " $PSScriptRoot /Result3/Parameters/3.0.0/Parameters.psd1" )
18
26
}
You can’t perform that action at this time.
0 commit comments