From 720cb821c456b11bcabada91e660bb1fe6e91081 Mon Sep 17 00:00:00 2001 From: A1Gard Date: Fri, 7 Jul 2023 06:15:35 +0330 Subject: [PATCH] fixed laravel test laravel.yml --- .github/workflows/laravel.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml index 3cbba4b..b19d03a 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/laravel.yml @@ -26,17 +26,17 @@ jobs: - name: Directory Permissions run: chmod -R 777 storage bootstrap/cache - name: Create Database + env: + DB_CONNECTION: sqlite + DB_DATABASE: database/database.sqlite run: | mkdir -p database touch database/database.sqlite # - name: Execute tests (Unit and Feature tests) via PHPUnit - env: - DB_CONNECTION: sqlite - DB_DATABASE: database/database.sqlite # run: vendor/bin/phpunit - - name: Generate key - run: php artisan key:generate - name: Database seeder test run: php artisan migrate:fresh --seed + - name: Generate key + run: php artisan key:generate - name : Developer test run: php artisan test