Implement load context and build quoting emitter #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: powershell-yaml | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true | |
permissions: {} | |
jobs: | |
tests: | |
name: Pester tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, ubuntu-20.04, macos-12, windows-2019, windows-2022] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install modules | |
shell: pwsh | |
run: | | |
Set-PSRepository PSGallery -InstallationPolicy Trusted | |
Install-Module Assert -ErrorAction Stop -MaximumVersion 0.9.6 -Force | |
Install-Module Pester -ErrorAction Stop -Force | |
- name: Run tests | |
shell: pwsh | |
run: | | |
Invoke-Pester |