2020-07-15 10:13:21 +00:00
|
|
|
name: Manifest config tests
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
paths-ignore:
|
|
|
|
- 'versions-manifest.json'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
RunTests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-10-31 14:12:41 +00:00
|
|
|
uses: actions/checkout@v3
|
2020-07-15 10:13:21 +00:00
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
|
|
|
|
- name: Install Pester
|
|
|
|
shell: pwsh
|
|
|
|
run: |
|
|
|
|
Install-Module Pester -Force -Scope CurrentUser
|
|
|
|
|
|
|
|
- name: Run tests
|
2022-10-31 14:12:41 +00:00
|
|
|
shell: pwsh
|
2020-07-15 10:13:21 +00:00
|
|
|
run: |
|
|
|
|
Import-Module Pester
|
|
|
|
Invoke-Pester -Configuration @{
|
|
|
|
Run = @{
|
|
|
|
Path = "tests/ManifestConfig.Tests.ps1"
|
|
|
|
Exit = $true
|
|
|
|
}
|
|
|
|
}
|