mirror of
https://github.com/pestphp/pest.git
synced 2026-12-03 22:45:06 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user