Skip to content

Commit 8c3366f

Browse files
Restore internal action test layout
Co-authored-by: Copilot App <[email protected]>
1 parent b980d1a commit 8c3366f

8 files changed

Lines changed: 1 addition & 2 deletions

File tree

.github/actions/Test-PSModule/src/main.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ $moduleName = if ([string]::IsNullOrEmpty($env:PSMODULE_TEST_PSMODULE_INPUT_Name
88
$env:PSMODULE_TEST_PSMODULE_INPUT_Name
99
}
1010
$settings = $env:PSMODULE_TEST_PSMODULE_INPUT_Settings
11-
$testPath = Resolve-Path -Path "$PSScriptRoot/../tests/$settings" | Select-Object -ExpandProperty Path
11+
$testPath = Resolve-Path -Path "$PSScriptRoot/tests/$settings" | Select-Object -ExpandProperty Path
1212

1313
$localTestPath = Resolve-Path -Path 'tests' | Select-Object -ExpandProperty Path
1414
switch ($settings) {

.github/actions/Test-PSModule/tests/Module/Module.Configuration.ps1 renamed to .github/actions/Test-PSModule/src/tests/Module/Module.Configuration.ps1

File renamed without changes.

.github/actions/Test-PSModule/tests/Module/PSModule/PSModule.Container.ps1 renamed to .github/actions/Test-PSModule/src/tests/Module/PSModule/PSModule.Container.ps1

File renamed without changes.

.github/actions/Test-PSModule/tests/Module/PSModule/PSModule.Tests.ps1 renamed to .github/actions/Test-PSModule/src/tests/Module/PSModule/PSModule.Tests.ps1

File renamed without changes.

.github/actions/Test-PSModule/tests/SourceCode/PSModule/PSModule.Container.ps1 renamed to .github/actions/Test-PSModule/src/tests/SourceCode/PSModule/PSModule.Container.ps1

File renamed without changes.

.github/actions/Test-PSModule/tests/SourceCode/PSModule/PSModule.Tests.ps1 renamed to .github/actions/Test-PSModule/src/tests/SourceCode/PSModule/PSModule.Tests.ps1

File renamed without changes.

.github/actions/Test-PSModule/tests/SourceCode/SourceCode.Configuration.ps1 renamed to .github/actions/Test-PSModule/src/tests/SourceCode/SourceCode.Configuration.ps1

File renamed without changes.

.github/workflows/Test-Actions.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ jobs:
6262
}
6363
6464
$testPaths = Get-ChildItem -Path '.github/actions' -Directory |
65-
Where-Object { $_.Name -ne 'Test-PSModule' } |
6665
ForEach-Object { Join-Path -Path $_.FullName -ChildPath 'tests' } |
6766
Where-Object { Test-Path -Path $_ }
6867
if (-not $testPaths) {

0 commit comments

Comments
 (0)