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