diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml index 1ef178e..d1d0c72 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/laravel.yml @@ -19,8 +19,8 @@ jobs: with: php-version: '8.1' - - name: Copy .env - run: php -r "file_exists('backend-api/.env') || copy('backend-api/.env.example', 'backend-api/.env');" + - name: Copy .env.testing + run: php -r "file_exists('backend-api/.env') || copy('backend-api/.env.testing', 'backend-api/.env');" - name: Install Composer Dependencies run: | @@ -48,6 +48,9 @@ jobs: - name: Debug .env.testing in Testing run: cat backend-api/.env.testing + - name: Debug Laravel Configuration + run: php backend-api/artisan config:dump + - name: Run Migrations run: php backend-api/artisan migrate --env=testing