Skip to content

Commit

Permalink
Merge pull request #133 from gabriel-samfira/use-powershell-exe-on-wi…
Browse files Browse the repository at this point in the history
…ndows

Add tests for powershell.exe
  • Loading branch information
gabriel-samfira authored Aug 22, 2024
2 parents a4e1f75 + 30e235d commit 5dcdaa7
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,27 @@ concurrency:
permissions: {}

jobs:
tests:
powershell_tests:
name: Pester tests on powershell.exe
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019, windows-2022]

steps:
- uses: actions/checkout@v3
- name: Install modules
shell: powershell
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: powershell
run: |
Invoke-Pester
pwsh_tests:
name: Pester tests
runs-on: ${{ matrix.os }}
strategy:
Expand Down

0 comments on commit 5dcdaa7

Please sign in to comment.