Skip to content

Merge branch 'main' of https://github.com/DevClate/365AutomatedLab #75

Merge branch 'main' of https://github.com/DevClate/365AutomatedLab

Merge branch 'main' of https://github.com/DevClate/365AutomatedLab #75

Workflow file for this run

name: Pester
on:
push:
branches: [ main ]
jobs:
test-pwsh:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Run Pester tests (pwsh)
run: |
Write-host $PSVersionTable.PSVersion.Major $PSVersionTable.PSRemotingProtocolVersion.Minor
Set-PSRepository psgallery -InstallationPolicy trusted
Install-Module -Name Pester -confirm:$false -Force
Invoke-Pester -Path ./tests
shell: pwsh