ci: use artisan command to run test, because this ci/laravel.yml does not work properly in laravel when uses Pest instead of PHPUnit (#2284)
Co-authored-by: Alexis Abril <alexisabril@github.com>
This commit is contained in:
+2
-2
@@ -28,8 +28,8 @@ jobs:
|
||||
run: |
|
||||
mkdir -p database
|
||||
touch database/database.sqlite
|
||||
- name: Execute tests (Unit and Feature tests) via PHPUnit
|
||||
- name: Execute tests (Unit and Feature tests) via PHPUnit/Pest
|
||||
env:
|
||||
DB_CONNECTION: sqlite
|
||||
DB_DATABASE: database/database.sqlite
|
||||
run: vendor/bin/phpunit
|
||||
run: php artisan test
|
||||
|
||||
Reference in New Issue
Block a user