Test failure fixes from 'Key Files Permissions Validation' from https://github.com/laravel/passport/blob/13.x/UPGRADE.md#key-files-permissions-validation
This commit is contained in:
@@ -69,6 +69,8 @@ jobs:
|
||||
php artisan migrate --force
|
||||
php artisan passport:install --no-interaction
|
||||
chmod -R 777 storage bootstrap/cache
|
||||
chmod 600 storage/oauth-private.key
|
||||
chmod 660 storage/oauth-public.key
|
||||
|
||||
- name: Execute tests (Unit and Feature tests) via PHPUnit
|
||||
env:
|
||||
|
||||
@@ -67,6 +67,8 @@ jobs:
|
||||
php artisan migrate --force
|
||||
php artisan passport:install --no-interaction
|
||||
chmod -R 777 storage bootstrap/cache
|
||||
chmod 600 storage/oauth-private.key
|
||||
chmod 660 storage/oauth-public.key
|
||||
|
||||
- name: Execute tests (Unit and Feature tests) via PHPUnit
|
||||
env:
|
||||
|
||||
@@ -56,7 +56,10 @@ jobs:
|
||||
run: php artisan passport:keys
|
||||
|
||||
- name: Directory Permissions
|
||||
run: chmod -R 777 storage bootstrap/cache
|
||||
run: |
|
||||
chmod -R 777 storage bootstrap/cache
|
||||
chmod 600 storage/oauth-private.key
|
||||
chmod 660 storage/oauth-public.key
|
||||
|
||||
- name: Execute tests (Unit and Feature tests) via PHPUnit
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user