Update laravel.yml
This commit is contained in:
@@ -19,21 +19,28 @@ jobs:
|
|||||||
- name: Copy app/code/
|
- name: Copy app/code/
|
||||||
run: |
|
run: |
|
||||||
cd app/code
|
cd app/code
|
||||||
- name: Install Dependencies
|
composer install
|
||||||
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
|
php artisan test
|
||||||
|
|
||||||
- name: Tests
|
|
||||||
run: php artisan test
|
|
||||||
- name: Generate key
|
|
||||||
run: php artisan key:generate
|
|
||||||
- name: Directory Permissions
|
# - name: Install Dependencies
|
||||||
run: chmod -R 777 storage bootstrap/cache
|
# run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
|
||||||
- name: Create Database
|
|
||||||
run: |
|
# - name: Tests
|
||||||
mkdir -p database
|
# run: php artisan test
|
||||||
touch database/database.sqlite
|
# - name: Generate key
|
||||||
- name: Execute tests (Unit and Feature tests) via PHPUnit
|
# run: php artisan key:generate
|
||||||
env:
|
# - name: Directory Permissions
|
||||||
DB_CONNECTION: sqlite
|
# run: chmod -R 777 storage bootstrap/cache
|
||||||
DB_DATABASE: database/database.sqlite
|
# - name: Create Database
|
||||||
run: vendor/bin/phpunit
|
# run: |
|
||||||
|
# mkdir -p database
|
||||||
|
# touch database/database.sqlite
|
||||||
|
# - name: Execute tests (Unit and Feature tests) via PHPUnit
|
||||||
|
# env:
|
||||||
|
# DB_CONNECTION: sqlite
|
||||||
|
# DB_DATABASE: database/database.sqlite
|
||||||
|
# run: vendor/bin/phpunit
|
||||||
|
|||||||
Reference in New Issue
Block a user