Skip to content

Commit e58e869

Browse files
committed
ci(test): run pester tests on each OS
1 parent 7a1ad4e commit e58e869

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/test.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616
steps:
1717
- name: Checkout Repo
1818
uses: actions/checkout@v4
19-
with:
20-
fetch-depth: 0
2119

2220
- name: Setup DotNet
2321
uses: actions/setup-dotnet@v4
@@ -40,10 +38,15 @@ jobs:
4038
path: ./tests/Compiler/coverage.info
4139

4240
test-scripts:
43-
runs-on: ubuntu-latest
4441
permissions:
4542
contents: read
4643
checks: write
44+
strategy:
45+
fail-fast: false
46+
matrix:
47+
os: [ubuntu-latest, windows-latest, macos-latest]
48+
runs-on: ${{ matrix.os }}
49+
name: Run Pester Tests on ${{ matrix.os }}
4750
steps:
4851
- name: Checkout Repo
4952
uses: actions/checkout@v4
@@ -66,3 +69,4 @@ jobs:
6669
test_results_path: "tests/TestResults/PesterTestResults.xml"
6770
github_token: ${{ secrets.GITHUB_TOKEN }}
6871
tests_fail_step: true
72+
report_name: "TEST_RESULTS_${{ github.run_id }}_${{ github.run_number }}_${{ matrix.os }}"

0 commit comments

Comments
 (0)