Skip to content

docs: fixed DNSPod example code (#552) #293

docs: fixed DNSPod example code (#552)

docs: fixed DNSPod example code (#552) #293

Workflow file for this run

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