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 <[email protected]>
This commit is contained in:
co-authored by
Alexis Abril
parent
efd31e5f0f
commit
b53d05e4b0
+2
-2
@@ -28,8 +28,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p database
|
mkdir -p database
|
||||||
touch database/database.sqlite
|
touch database/database.sqlite
|
||||||
- name: Execute tests (Unit and Feature tests) via PHPUnit
|
- name: Execute tests (Unit and Feature tests) via PHPUnit/Pest
|
||||||
env:
|
env:
|
||||||
DB_CONNECTION: sqlite
|
DB_CONNECTION: sqlite
|
||||||
DB_DATABASE: database/database.sqlite
|
DB_DATABASE: database/database.sqlite
|
||||||
run: vendor/bin/phpunit
|
run: php artisan test
|
||||||
|
|||||||
Reference in New Issue
Block a user