From 5b534641e4d37f3ea1e753c221e0406413794086 Mon Sep 17 00:00:00 2001 From: Punyapal Shah <53343069+MrPunyapal@users.noreply.github.com> Date: Thu, 3 Dec 2026 19:30:12 +0530 Subject: [PATCH] Split macOS integration tests into separate jobs (#2096) * Split macOS integration tests into separate jobs * Keep visual tests in the main macOS jobs --- .github/workflows/tests.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 124a27dc..58f63ce2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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