diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5e62f32..4cf5c7d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -46,4 +46,4 @@ jobs: composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress - name: Execute Unit Tests - run: composer test + run: composer test-ci diff --git a/composer.json b/composer.json index 51dd72c..0cd686e 100644 --- a/composer.json +++ b/composer.json @@ -36,6 +36,7 @@ "illuminate/view": "^6 || ^7 || ^8", "mockery/mockery": "^1.3", "orchestra/testbench": "^4 || ^5 || ^6", + "phpunit/phpunit": "^8.5 || ^9", "spatie/phpunit-snapshot-assertions": "^1.4 || ^2.2 || ^3", "vimeo/psalm": "^3.12" }, @@ -75,6 +76,7 @@ "php-cs-fixer fix --config=.php_cs.tests.php" ], "test": "phpunit", + "test-ci": "phpunit -d --without-creating-snapshots", "test-regenerate": "phpunit -d --update-snapshots" } }