Split macOS integration tests into separate jobs (#2096)

* Split macOS integration tests into separate jobs

* Keep visual tests in the main macOS jobs
This commit is contained in:
Punyapal Shah
2026-12-03 19:30:12 +05:30
committed by GitHub
parent edb56ae412
commit 5b534641e4
+16 -1
View File
@@ -27,8 +27,12 @@ jobs:
symfony: ['8.0']
php: ['8.4', '8.5', '8.6']
dependency_version: [prefer-stable]
suite: [default, tia]
exclude:
- os: ubuntu-latest
suite: tia
name: PHP ${{ matrix.php }} - Symfony ^${{ matrix.symfony }} - ${{ matrix.os }} - ${{ matrix.dependency_version }}
name: PHP ${{ matrix.php }} - Symfony ^${{ matrix.symfony }} - ${{ matrix.os }} - ${{ matrix.dependency_version }}${{ matrix.suite != 'default' && format(' - {0}', matrix.suite) || '' }}
steps:
- name: Checkout
@@ -68,10 +72,21 @@ jobs:
run: composer update --${{ matrix.dependency_version }} --no-interaction --no-progress --ansi --with="symfony/console:^${{ matrix.symfony }}"
- name: Unit Tests
if: matrix.suite == 'default'
run: composer test:unit
- name: Parallel Tests
if: matrix.suite == 'default'
run: composer test:parallel
- name: Integration Tests
if: runner.os != 'macOS'
run: composer test:integration
- name: TIA Integration Tests
if: matrix.suite == 'tia'
run: XDEBUG_MODE=off composer test:tia
- name: Visual Integration Tests
if: runner.os == 'macOS' && matrix.suite == 'default'
run: composer test:integration -- --exclude-group=tia