PSGSuite 3.0.0-beta release - WindowsPowerShell support drop, restore PSGSuite release pipeline and enable new maintainers #6
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 - Build Test Deploy | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
name: Build | |
runs-on: windows-latest | |
needs: [] | |
timeout-minutes: 120 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build Module | |
shell: pwsh | |
run: | | |
. ./build.ps1 | |
- name: Collect BuildOutput directory | |
uses: actions/upload-artifact@v4 | |
with: | |
name: BuildOutput | |
path: BuildOutput | |
test_ubu: | |
name: Test Ubuntu | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
timeout-minutes: 120 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download BuildOutput directory | |
uses: actions/download-artifact@v4 | |
with: | |
name: BuildOutput | |
path: BuildOutput | |
- name: Test Module | |
shell: pwsh | |
run: | | |
. ./build.ps1 -Task Test | |
test_win: | |
name: Test Windows | |
runs-on: windows-latest | |
needs: | |
- build | |
timeout-minutes: 120 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download BuildOutput directory | |
uses: actions/download-artifact@v4 | |
with: | |
name: BuildOutput | |
path: BuildOutput | |
- name: Test Module | |
shell: pwsh | |
run: | | |
. ./build.ps1 -Task Test | |
test_mac: | |
name: Test MacOS | |
runs-on: macos-latest | |
needs: | |
- build | |
timeout-minutes: 120 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download BuildOutput directory | |
uses: actions/download-artifact@v4 | |
with: | |
name: BuildOutput | |
path: BuildOutput | |
- name: Test Module | |
shell: pwsh | |
run: | | |
. ./build.ps1 -Task Test | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
if: success() || failure() | |
with: | |
name: NUnit Tests | |
path: '**/Test*.xml' | |
reporter: jest-junit |