Skip to content

refactor(deployveeamconfig): rework script #174

refactor(deployveeamconfig): rework script

refactor(deployveeamconfig): rework script #174

Workflow file for this run

---
name: Pester
on:
push:
pull_request:
jobs:
test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run Pester
shell: powershell
run: |
Get-Module -Name 'Pester' -ListAvailable | Sort-Object -Property 'Version' -Descending | Select-Object -First 1 | Import-Module
$pesterConfig = Get-Content .\tests\PesterPreference.ps1 -Raw | Invoke-Expression
Invoke-Pester -Configuration $pesterConfig
- name: Upload test report
uses: actions/upload-artifact@v2
if: success() || failure()
with:
name: Pester-Results
path: PesterResults.xml