From ab7fb3cf008ff8323a687472c812048691a37037 Mon Sep 17 00:00:00 2001 From: A1Gard Date: Fri, 7 Jul 2023 05:49:17 +0330 Subject: [PATCH] Update laravel.yml for test --- .github/workflows/laravel.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml index c6afbac..754638c 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/laravel.yml @@ -20,7 +20,7 @@ jobs: run: php -r "file_exists('.env') || copy('.env.example', '.env');" - name: Install Dependencies # run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - run: composer install + run: composer update -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - name: dump run: composer dump-autoload - name: Generate key @@ -36,5 +36,7 @@ jobs: DB_CONNECTION: sqlite DB_DATABASE: database/database.sqlite run: vendor/bin/phpunit + - name: Db seeder test + run: php artisan migrate:fresh --seed - name : developer tests run: php artisan test