Skip to content

Commit 91bd21f

Browse files
🩹[Patch] Move test module to PSModuleTest (#20)
- Move test module to `PSModuleTest` - Attempt to stop downloading prerelease.
1 parent e78a220 commit 91bd21f

24 files changed

+12
-345
lines changed

.github/workflows/Action-Test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ jobs:
1515
- name: Checkout repo
1616
uses: actions/checkout@v4
1717

18+
- name: Checkout tests -> PSModuleTest
19+
uses: actions/checkout@v4
20+
with:
21+
repository: PSModule/PSModuleTest
22+
path: tests
23+
24+
- name: Delete outputs
25+
shell: pwsh
26+
run: |
27+
Remove-Item -Path tests/outputs -Recurse -Force -Verbose
28+
1829
- name: Initialize environment
1930
uses: PSModule/Initialize-PSModule@main
2031

scripts/helpers/Build/Resolve-PSModuleDependency.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,11 @@
4242
$installParams.MaximumVersion = $requiredModule.MaximumVersion
4343
}
4444
$installParams.Verbose = $false
45-
$installParams.Force = $true
4645

4746
Write-Verbose "[$($installParams.Name)] - Installing module"
4847
$VerbosePreferenceOriginal = $VerbosePreference
4948
$VerbosePreference = 'SilentlyContinue'
50-
Install-Module @installParams
49+
Install-Module @installParams -AllowPrerelease:$false
5150
$VerbosePreference = $VerbosePreferenceOriginal
5251
Write-Verbose "[$($installParams.Name)] - Importing module"
5352
$VerbosePreferenceOriginal = $VerbosePreference

tests/src/PSModule/PSModule.psd1

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/src/PSModule/PSModule.psm1

Lines changed: 0 additions & 32 deletions
This file was deleted.
-42.5 KB
Binary file not shown.

tests/src/PSModule/classes/CultureInfo.Format.ps1xml

Lines changed: 0 additions & 37 deletions
This file was deleted.

tests/src/PSModule/classes/DirectoryInfo.Types.ps1xml

Lines changed: 0 additions & 21 deletions
This file was deleted.

tests/src/PSModule/classes/FileInfo.Types.ps1xml

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/src/PSModule/classes/Function.ps1

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/src/PSModule/classes/Mygciview.Format.ps1xml

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)