Skip to content

Commit

Permalink
run the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed May 10, 2024
1 parent 182051d commit d6572b2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,23 @@ jobs:
run: php artisan vendor:publish --tag=auth:config
working-directory: ./laravel_app

- name: Create sqlite file
run: touch database/database.sqlite
working-directory: ./laravel_app

- name: List out .env
run: cat .env
working-directory: ./laravel_app

- name: Updating values in the .env
run: sed -i 's/DB_CONNECTION=mysql/DB_CONNECTION=sqlite/' .env
working-directory: ./laravel_app

- name: Run the migrations
run: php artisan migrate
working-directory: ./laravel_app

- name: Publish the Auth Migrations
- name: Run the Auth Migrations
run: php artisan migrate --path=vendor/devdojo/auth/database/migrations
working-directory: ./laravel_app

Expand Down

0 comments on commit d6572b2

Please sign in to comment.