Skip to content

Commit

Permalink
fix: import security PS module as file (#192)
Browse files Browse the repository at this point in the history
* fix: import security PS module as file

We should import preview modules as script files, so let's use that for all.

* Update run-pester-tests.yml
  • Loading branch information
stijnmoreels authored Jul 15, 2021
1 parent 2fa1c74 commit 0219e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/templates/run-pester-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ steps:
Install-Module -Name Az -Force -SkipPublisherCheck -MaximumVersion 5.6.0
Write-Host "Done installing, start importing modules"
Import-Module ./src/Arcus.Scripting.Security
Import-Module ./src/Arcus.Scripting.Security/Arcus.Scripting.Security.psd1
Get-ChildItem -Path ./src -Filter *.psm1 -Recurse -Exclude "*Arcus.Scripting.Security*", "*.All.psm1" |
% { Write-Host "Import $($_.DirectoryName) module"
Expand Down

0 comments on commit 0219e9f

Please sign in to comment.