From 073bc89f7dd7dc49bb0c4af850ce6f1a5ecb584a Mon Sep 17 00:00:00 2001 From: Tony Lea Date: Thu, 9 May 2024 21:43:51 -0400 Subject: [PATCH] Adding updates to get this working --- .github/workflows/tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c4ce5f7..3f39cc1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,12 +54,19 @@ jobs: run: cat .env working-directory: ./laravel_app + # Testing on a mac, this command should be: + # sed -i '' 's/DB_CONNECTION=mysql/DB_CONNECTION=sqlite/' .env + # sed -i '' 's/^DB_DATABASE=laravel/#DB_DATABASE=laravel/' .env - name: Updating values in the .env run: | sed -i 's/DB_CONNECTION=mysql/DB_CONNECTION=sqlite/' .env sed -i 's/^DB_DATABASE=laravel/#DB_DATABASE=laravel/' .env working-directory: ./laravel_app + - name: Include Doctrine DBAL Package which is used for renaming columns + run: composer require doctrine/dbal + working-directory: ./laravel_app + - name: Run the migrations run: php artisan migrate working-directory: ./laravel_app