diff --git a/.github/workflows/tests-pr.yml b/.github/workflows/tests-pr.yml index 6f53f4e0a22..c16e9df6619 100644 --- a/.github/workflows/tests-pr.yml +++ b/.github/workflows/tests-pr.yml @@ -160,7 +160,7 @@ jobs: node: [ '22.12.0', '24.1.0', '26.1.0' ] shard: [ '' ] include: - # Add sharding for Windows jobs to reduce wall-clock time + # Add sharding for Windows and macOS jobs to reduce wall-clock time - os: windows-latest node: '22.12.0' shard: '1/2' @@ -179,8 +179,26 @@ jobs: - os: windows-latest node: '26.1.0' shard: '2/2' + - os: macos-latest + node: '22.12.0' + shard: '1/2' + - os: macos-latest + node: '22.12.0' + shard: '2/2' + - os: macos-latest + node: '24.1.0' + shard: '1/2' + - os: macos-latest + node: '24.1.0' + shard: '2/2' + - os: macos-latest + node: '26.1.0' + shard: '1/2' + - os: macos-latest + node: '26.1.0' + shard: '2/2' exclude: - # Exclude the non-sharded Windows entries (replaced by sharded ones above) + # Exclude the non-sharded Windows and macOS entries (replaced by sharded ones above) - os: windows-latest node: '22.12.0' shard: '' @@ -190,6 +208,15 @@ jobs: - os: windows-latest node: '26.1.0' shard: '' + - os: macos-latest + node: '22.12.0' + shard: '' + - os: macos-latest + node: '24.1.0' + shard: '' + - os: macos-latest + node: '26.1.0' + shard: '' steps: - uses: actions/checkout@v6 with: @@ -228,7 +255,7 @@ jobs: strategy: fail-fast: false matrix: - shard: ['1/2', '2/2'] + shard: ['1/3', '2/3', '3/3'] steps: - uses: actions/checkout@v6 with: