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:
Charly Garcia
2024-04-01 17:12:02 -03:00
committed by GitHub
parent efd31e5f0f
commit b53d05e4b0
+2 -2
View File
@@ -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