|
|
@ -19,7 +19,10 @@ jobs:
|
|
|
|
- name: Copy .env
|
|
|
|
- name: Copy .env
|
|
|
|
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
|
|
|
|
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
|
|
|
|
- name: Install Dependencies
|
|
|
|
- name: Install Dependencies
|
|
|
|
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
|
|
|
|
# run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
|
|
|
|
|
|
|
|
run: composer install
|
|
|
|
|
|
|
|
- name: dump
|
|
|
|
|
|
|
|
run: composer dump-autoload
|
|
|
|
- name: Generate key
|
|
|
|
- name: Generate key
|
|
|
|
run: php artisan key:generate
|
|
|
|
run: php artisan key:generate
|
|
|
|
- name: Directory Permissions
|
|
|
|
- name: Directory Permissions
|
|
|
@ -33,3 +36,5 @@ jobs:
|
|
|
|
DB_CONNECTION: sqlite
|
|
|
|
DB_CONNECTION: sqlite
|
|
|
|
DB_DATABASE: database/database.sqlite
|
|
|
|
DB_DATABASE: database/database.sqlite
|
|
|
|
run: vendor/bin/phpunit
|
|
|
|
run: vendor/bin/phpunit
|
|
|
|
|
|
|
|
- name : developer tests
|
|
|
|
|
|
|
|
run: php artisan test
|
|
|
|