Skip to content

Commit

Permalink
Adding updates to get this working
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed May 10, 2024
1 parent 7015596 commit 073bc89
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 073bc89

Please sign in to comment.