Skip to content

Commit

Permalink
Merge pull request #63 from LaurentDardenne/main
Browse files Browse the repository at this point in the history
Version 6.2
  • Loading branch information
LaurentDardenne authored Apr 3, 2024
2 parents 9e80be9 + cb32240 commit 8a705c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Release Notes

### v6.2

* Bump actions/cache to v4. Node 16 is deprecated, v4 uses Node 20. Thanks to Frode Flaten (fflaten).

### v6.1

* Fix (#59). Modules requesting acceptance of a license triggered an exception. Now licenses are always accepted.
Expand Down
6 changes: 3 additions & 3 deletions test/DuplicateSavePath.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Describe 'Github Action "psmodulecache" module. When there is no error.' -Tag 'D

$ModulesCache.ModuleCacheInformations[1].Name | Should -Be 'Duplicate'
$ModulesCache.ModuleCacheInformations[0].Name | Should -MatchExactly 'string'
$ModulesCache.ModuleCacheInformations[0].Version | Should -Be '1.1.3'
$ModulesCache.ModuleCacheInformations[0].Version | Should -Be '1.1.5'
$ModulesCache.ModuleCacheInformations[0].Repository | Should -Be 'PSGallery'

$ModulesCache.ModuleCacheInformations[0].Dependencies.Count | Should -Be 0
Expand All @@ -124,7 +124,7 @@ Describe 'Github Action "psmodulecache" module. When there is no error.' -Tag 'D
$Result[1].MainModule | Should -Be 'psmodulecache-Duplicate-1.0.0'

$Result[2].Name | Should -MatchExactly 'string'
$Result[2].Version | Should -Be '1.1.3'
$Result[2].Version | Should -Be '1.1.5'
$Result[2].MainModule | Should -Be $null

$Result[3].Name | Should -Be 'UpperCase'
Expand Down Expand Up @@ -156,7 +156,7 @@ Describe 'Github Action "psmodulecache" module. When there is no error.' -Tag 'D
$ModulesCache.ModuleCacheInformations[1].Dependencies.Count | Should -Be ( (105 - 27) - 1)

<#
todo controle dans inScopeModule
todo control inside inScopeModule
$result = &$mod { Remove-ModulePathDuplication $ModulesCache.ModuleCacheInformations }
$h = $result | Sort-Object Name | Group-Object Name -AsHashTable
$h.'Az.Storage'
Expand Down

0 comments on commit 8a705c6

Please sign in to comment.