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