Skip to content

Commit

Permalink
test: fix laravel workflow error
Browse files Browse the repository at this point in the history
  • Loading branch information
marchershey committed May 12, 2024
1 parent 0792321 commit 6a715b5
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,16 @@ jobs:
- name: Directory Permissions
run: chmod -R 777 storage bootstrap/cache

- name: Create and Migrate Database
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
- name: Create Database
run: |
mkdir -p database
touch database/database.sqlite
php artisan migrate --seed
- name: Migrate Database
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: php artisan migrate --seed

- name: Execute tests (Unit and Feature tests) via PHPUnit/Pest
run: php artisan test

0 comments on commit 6a715b5

Please sign in to comment.