diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index efc2aa5d..0c52db8c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,9 +15,8 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] php: ['8.1', '8.2'] dependency-version: [prefer-lowest, prefer-stable] - parallel: ['', '--parallel'] - name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }} - ${{ matrix.parallel }} + name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }} steps: - name: Checkout @@ -41,9 +40,8 @@ jobs: - name: Unit Tests run: composer test:unit - - name: Unit Tests + - name: Unit Tests in Parallel run: test:parallel - if: ${{ false }} # Parallel's not yet supported. - name: Integration Tests run: composer test:integration diff --git a/composer.json b/composer.json index 63d90f5a..7c2c1618 100644 --- a/composer.json +++ b/composer.json @@ -71,7 +71,7 @@ "test:types": "phpstan analyse --ansi --memory-limit=-1 --debug", "test:unit": "php bin/pest --colors=always --exclude-group=integration --compact", "test:inline": "php bin/pest --colors=always --configuration=phpunit.inline.xml", - "test:parallel": "exit 1", + "test:parallel": "php bin/pest --colors=always --exclude-group=integration --parallel", "test:integration": "php bin/pest --colors=always --group=integration -v", "update:snapshots": "REBUILD_SNAPSHOTS=true php bin/pest --colors=always", "test": [