Fix publish script #2
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
# Run tests on every push to the repository | |
on: [push] | |
jobs: | |
Tests_PowerShell_5: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: powershell | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Requried Modules | |
run: Install-Module PSAdvancedJsonCmdlet -Repository PSGallery -Force -AllowClobber | |
- name: Run Tests | |
run: | | |
$pesterConf = New-PesterConfiguration | |
$pesterConf.Output.Verbosity = 'Detailed' | |
$pesterConf.Output.CIFormat = 'GithubActions' | |
Invoke-pester -Configuration $pesterConf | |
Tests_PowerShell_7: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: pwsh | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Requried Modules | |
run: Install-Module PSAdvancedJsonCmdlet -Repository PSGallery -Force -AllowClobber | |
- name: Run Tests | |
run: | | |
$pesterConf = New-PesterConfiguration | |
$pesterConf.Output.Verbosity = 'Detailed' | |
$pesterConf.Output.CIFormat = 'GithubActions' | |
Invoke-pester -Configuration $pesterConf |