Skip to content

Commit 4793665

Browse files
Update laravel.yml for database configration
1 parent f44ffb9 commit 4793665

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/laravel.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@ jobs:
7676
run: |
7777
cp .env.example .env
7878
php artisan key:generate
79+
- name: Directory Permissions
80+
run: chmod -R 777 storage bootstrap/cache
81+
- name: Create Database
82+
run: |
83+
mkdir -p database
84+
touch database/database.sqlite
85+
- name: Execute tests (Unit and Feature tests) via PHPUnit/Pest
86+
env:
87+
DB_CONNECTION: sqlite
88+
DB_DATABASE: database/database.sqlite
7989

8090
- name: Tests
8191
run: composer test

0 commit comments

Comments
 (0)