-
-
Notifications
You must be signed in to change notification settings - Fork 805
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into improve-branch-autocompletion-time
- Loading branch information
Showing
15 changed files
with
310 additions
and
230 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Windows PowerShell | ||
|
||
on: | ||
push: | ||
branches: [ main, master ] | ||
pull_request: | ||
branches: [ main, master ] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ['windows-latest'] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: install dependencies | ||
shell: powershell | ||
run: | | ||
"Git version: $(git --version)" | ||
"PSVersion: $($PSVersionTable.PSVersion)" | ||
"Host name: $($Host.Name)" | ||
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | ||
Install-Module Pester -MinimumVersion 5.0.0 -MaximumVersion 5.99.99 -Scope CurrentUser -Force | ||
"Pester: $(Get-Module Pester | % Version)" | ||
- name: run tests | ||
shell: powershell | ||
run: | | ||
Import-Module Pester -PassThru | ||
$ErrorActionPreference = 'Continue' | ||
$res = Invoke-Pester -Path test -Output Detailed -PassThru -ErrorAction SilentlyContinue | ||
if (!$res -or ($res.FailedCount -gt 0)) { | ||
$Error | Format-List * -Force | ||
exit 1 | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: PowerShell Core | ||
|
||
on: | ||
push: | ||
branches: [ main, master ] | ||
pull_request: | ||
branches: [ main, master ] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ['windows-latest', 'macos-latest', 'ubuntu-latest'] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: install dependencies | ||
shell: pwsh | ||
run: | | ||
"Git version: $(git --version)" | ||
"PSVersion: $($PSVersionTable.PSVersion)" | ||
"Host name: $($Host.Name)" | ||
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | ||
Install-Module Pester -MinimumVersion 5.0.0 -MaximumVersion 5.99.99 -Scope CurrentUser -Force | ||
"Pester: $(Get-Module Pester | % Version)" | ||
- name: run tests | ||
shell: pwsh | ||
run: | | ||
Import-Module Pester -PassThru | ||
$ErrorActionPreference = 'Continue' | ||
$res = Invoke-Pester -Path test -Output Detailed -PassThru -ErrorAction SilentlyContinue | ||
if (!$res -or ($res.FailedCount -gt 0)) { | ||
$Error | Format-List * -Force | ||
exit 1 | ||
} |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
Oops, something went wrong.