Skip to content

Commit

Permalink
Add Windows PSv7, macOS, Ubuntu tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johnheusinger committed May 29, 2023
1 parent 1526e1f commit c0124a3
Showing 1 changed file with 64 additions and 1 deletion.
65 changes: 64 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: Release
path: ./Release/

test_on_windows:
test_on_windows_v5:
name: Test Module on Windows (PS v5)
needs: build_module
runs-on: windows-latest
Expand All @@ -45,3 +45,66 @@ jobs:
shell: powershell
run: |
Invoke-Build -Task Test
test_on_windows_v7:
name: Test Module on Windows (PS v7)
needs: build_module
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Download
uses: actions/download-artifact@v3
with:
name: Release
path: ./Release/
- name: Setup
shell: pwsh
run: |
./Tools/setup.ps1
Invoke-Build -Task ShowInfo
- name: Test
shell: pwsh
run: |
Invoke-Build -Task Test
test_on_ubuntu:
name: Test Module on Ubuntu
needs: build_module
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download
uses: actions/download-artifact@v3
with:
name: Release
path: ./Release/
- name: Setup
shell: pwsh
run: |
./Tools/setup.ps1
Invoke-Build -Task ShowInfo
- name: Test
shell: pwsh
run: |
Invoke-Build -Task Test
test_on_macos:
name: Test Module on macOS
needs: build_module
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Download
uses: actions/download-artifact@v3
with:
name: Release
path: ./Release/
- name: Setup
shell: pwsh
run: |
./Tools/setup.ps1
Invoke-Build -Task ShowInfo
- name: Test
shell: pwsh
run: |
Invoke-Build -Task Test

0 comments on commit c0124a3

Please sign in to comment.