There was an error while loading. Please reload this page.
1 parent 69371aa commit f60482aCopy full SHA for f60482a
1 file changed
.github/workflows/tests.yml
@@ -15,18 +15,8 @@ jobs:
15
- name: Run Tests
16
shell: pwsh
17
run: |
18
- # Fix PSGallery
19
- Unregister-PSRepository -Name PSGallery -ErrorAction SilentlyContinue
20
- Register-PSRepository -Name PSGallery `
21
- -SourceLocation "https://www.powershellgallery.com/api/v2" `
22
- -InstallationPolicy Trusted `
23
- -PackageManagementProvider NuGet
24
-
25
- # Install Pester
26
- Install-Module Pester -Force -Scope CurrentUser
27
28
- # Import your module
+ # Import your module explicitly
29
Import-Module "$env:GITHUB_WORKSPACE/VSCode-Updater.psm1" -Force
30
31
- # Run tests
+ # Run Pester using the built-in version
32
Invoke-Pester -Path Tests -Output Detailed
0 commit comments