Skip to content

Add Start-FinOpsMultitool — cross-platform terminal UI for FinOps scanning #906

Add Start-FinOpsMultitool — cross-platform terminal UI for FinOps scanning

Add Start-FinOpsMultitool — cross-platform terminal UI for FinOps scanning #906

Workflow file for this run

name: 'PowerShell Tests'
on:
pull_request:
paths:
- 'src/powershell/**'
# KQL sources are covered by unit tests (HubsKqlOperators.Tests.ps1)
- 'src/templates/finops-hub/**/*.kql'
- 'src/queries/**/*.kql'
# ADF trigger time zone mappings are covered by unit tests (HubsAdfTriggerTimeZones.Tests.ps1)
- 'src/templates/finops-hub/**/timeZones.bicep'
- 'docs/deploy/finops-hub-latest.json'
- 'docs/deploy/finops-hub-preview.json'
jobs:
run_pester_tests:
name: Pester
runs-on: Windows-latest
steps:
- name: Install and cache PowerShell modules
uses: potatoqualitee/psmodulecache@9e4b63833c22c1768d648e115a9c849afdda22a5 # v6.3
with:
modules-to-cache: InvokeBuild, PSScriptAnalyzer, Pester:6.0.0, Az.Accounts, Az.Resources
shell: pwsh
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Run Tests
shell: pwsh
run: .build/start.ps1 -Task Test.PowerShell.All