Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
df1a955
Add Import-ParameterConfiguration
Jaykul Jul 2, 2019
b7da9c9
Fix build and tests
Jaykul Jul 4, 2019
5aff7e6
Update ReadMe
Jaykul Jul 4, 2019
766cefd
Add Recurse to Import-ParameterConfiguration
Jaykul Jul 6, 2019
4c26fda
Fix broken test
Jaykul Jul 6, 2019
7c1af3d
Use SessionState.PSVariable instead of PSCallStack
Jaykul Jul 6, 2019
a31af34
Let's try making these tests run xplat
Jaykul Jul 22, 2019
fcb80a9
Tweak paths in Configuration test
Jaykul Jul 23, 2019
4b18d38
Update for Build-Module requiring AliasesToExport
Jaykul Jan 11, 2020
983b815
Tweak Build/Test scripts for contributors
Jaykul Jan 15, 2020
ebbe6ff
Preserve PSTypeName from exported configuration objects
Jaykul Feb 18, 2020
f80f75a
Update build manifests
Jaykul Feb 18, 2020
2a8e8d3
Import Configuration Module
Jaykul Feb 18, 2020
036576b
Add IPsMetadataSerializable
Jaykul Jul 24, 2020
673c694
Bump Azure-Pipelines
Jaykul Aug 8, 2020
0ec27f5
Resolve "problems" found by PSScriptAnalyzer
Jaykul Aug 8, 2020
9ad995f
Fix Build for ModuleBuilder 2.0
Jaykul Oct 16, 2020
0f4f60c
Fix bug when piping in an array of scriptblocks
Jaykul Oct 16, 2020
12aa268
Fix alias exports
Jaykul Oct 22, 2020
780b825
Be explicit about variable scope
Jaykul Oct 22, 2020
d401c1c
Tweak Build.ps1
Jaykul Jan 1, 2021
9903f0e
Why is the CI build failing?
Jaykul Jan 1, 2021
dc8d4a0
Try building using github actions
Jaykul Jan 2, 2021
8c4ee7c
Add Actions/Install-RequiredModules
Jaykul Jan 5, 2021
654468e
Normalize by using "action.ps1" as the runner name
Jaykul Jan 4, 2021
85692e6
Make the GitVersion action cache the tool
Jaykul Jan 4, 2021
91b1988
Add a pester runner that can handle Gherkin
Jaykul Jan 5, 2021
263692a
Add the psd1 path to the build output
Jaykul Jan 5, 2021
bd2d73e
Try merging Metadata and Configuration after build
Jaykul Jan 5, 2021
3bb2739
Make a Github Actions build using PoshCode/Actions
Jaykul Jan 5, 2021
e1f047a
Remove the local actions
Jaykul Jan 5, 2021
a22b493
Remove Azure Pipeline, add OSes to github workflows
Jaykul Jan 5, 2021
833da96
Resolve some PSScriptAnalyzer warnings
Jaykul Jan 9, 2021
fd34c79
Add ScriptAnalyzer
Jaykul Jan 18, 2021
16ddc7f
Include PSScriptAnalyzerSettings.psd1
Jaykul Jan 18, 2021
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
Prev Previous commit
Next Next commit
Why is the CI build failing?
  • Loading branch information
Jaykul committed Jan 1, 2021
commit 9903f0ecc0f4ca60f1a54b0362387ea9cf119495
30 changes: 16 additions & 14 deletions Specs/Configuration.Steps.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#requires -Module Configuration
#using module Configuration

$PSModuleAutoLoadingPreference = "None"
Expand Down Expand Up @@ -36,25 +37,26 @@ public class TestClass : Hashtable {
'@

InModuleScope Pester {
class TestClass : Hashtable, IPsMetadataSerializable {
[string]$Name

[string] ToPsMetadata() {
return ConvertTo-Metadata -InputObject @{
Name = $this.Name
Values = @{ } + $this
Import-Module Configuration
class TestClass : Hashtable, IPsMetadataSerializable {
[string]$Name

[string] ToPsMetadata() {
return ConvertTo-Metadata -InputObject @{
Name = $this.Name
Values = @{ } + $this
}
}
}

[void] FromPsMetadata([string]$Metadata) {
$self = ConvertFrom-Metadata -InputObject $Metadata
$this.PSBase.Name = $self.Name
foreach ($key in $self.Values.Keys) {
$null = $this.Add($key, $self.Values[$key])
[void] FromPsMetadata([string]$Metadata) {
$self = ConvertFrom-Metadata -InputObject $Metadata
$this.PSBase.Name = $self.Name
foreach ($key in $self.Values.Keys) {
$null = $this.Add($key, $self.Values[$key])
}
}
}
}
}

function global:GetModuleBase {
$Module = Get-Module "Configuration" -ListAvailable |
Expand Down