Skip to content

test

test #19

Workflow file for this run

name: 'PowerShell Tests'
on:
pull_request:
paths:
- 'src/powershell/**'
jobs:
run_pester_tests:
name: Pester
runs-on: Windows-latest
steps:
- name: Install and cache PowerShell modules
uses: potatoqualitee/[email protected]
with:
modules-to-cache: InvokeBuild, PSScriptAnalyzer, Pester, Az.Accounts, Az.Resources
shell: pwsh
- uses: actions/checkout@v3
- name: Run Tests
shell: pwsh
run: .build/start.ps1 -Task Test.PowerShell.All