Skip to content

Commit

Permalink
wip README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arthoine committed Jun 27, 2024
1 parent ef708fb commit 9563463
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,21 @@ jobs:
run: chmod -R 777 storage bootstrap/cache

- name: Run Migrations
env:
DB_CONNECTION: sqlite
DB_DATABASE: $(pwd)/database/database.sqlite
run: php artisan migrate --force

- name: Start Laravel Server
run: php artisan serve --host=127.0.0.1 --port=8000 &
env:
APP_ENV: testing
DB_CONNECTION: sqlite DB_DATABASE=$(pwd)/database/database.sqlite
DB_CONNECTION: sqlite
DB_DATABASE: $(pwd)/database/database.sqlite
run: php artisan serve --host=127.0.0.1 --port=8000 &

- name: Execute Tests (Unit and Feature tests) via PHPUnit/Pest
env:
APP_ENV: testing
DB_CONNECTION: sqlite DB_DATABASE=$(pwd)/database/database.sqlite
DB_CONNECTION: sqlite
DB_DATABASE: $(pwd)/database/database.sqlite
run: php artisan test

0 comments on commit 9563463

Please # to comment.