Skip to content

Commit

Permalink
feat: rework action to be matrix-based
Browse files Browse the repository at this point in the history
  • Loading branch information
drmohundro committed May 19, 2023
1 parent 896ab39 commit 6289ee5
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,12 @@ name: Test Find-String
on: [push, pull_request]

jobs:
linux-test:
name: Ubuntu Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Pester Tests
shell: pwsh
run: |
Invoke-Pester Find-String.Tests.ps1
mac-test:
name: Mac Tests
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: Run Pester Tests
shell: pwsh
run: |
Invoke-Pester Find-String.Tests.ps1
windows-test:
name: Windows Tests
runs-on: windows-latest
matrix-test:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
name: Find-String Tests
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Run Pester Tests
Expand Down

0 comments on commit 6289ee5

Please sign in to comment.