More fix for Azure IMDS auth from Arc-enabled servers (#562) #308
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pester Tests | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
Test-DesktopEdition: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Pester tests | |
run: | | |
Set-PSRepository PSGallery -InstallationPolicy Trusted | |
Install-Module Microsoft.PowerShell.SecretManagement | |
Import-Module Pester -MinimumVersion 5.2 | |
$cfg = [PesterConfiguration]@{Run=@{Exit=$true}} | |
Invoke-Pester -Configuration $cfg | |
shell: powershell | |
Test-CoreEdition: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Pester tests | |
run: | | |
Set-PSRepository PSGallery -InstallationPolicy Trusted | |
Install-Module Microsoft.PowerShell.SecretManagement | |
Import-Module Pester -MinimumVersion 5.2 | |
$cfg = [PesterConfiguration]@{Run=@{Exit=$true}} | |
Invoke-Pester -Configuration $cfg | |
shell: pwsh |