1
0
Fork 0

fixed laravel test laravel.yml

main
A1Gard 1 year ago committed by GitHub
parent faef1cf256
commit 720cb821c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,17 +26,17 @@ jobs:
- name: Directory Permissions - name: Directory Permissions
run: chmod -R 777 storage bootstrap/cache run: chmod -R 777 storage bootstrap/cache
- name: Create Database - name: Create Database
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: | run: |
mkdir -p database mkdir -p database
touch database/database.sqlite touch database/database.sqlite
# - name: Execute tests (Unit and Feature tests) via PHPUnit # - name: Execute tests (Unit and Feature tests) via PHPUnit
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
# run: vendor/bin/phpunit # run: vendor/bin/phpunit
- name: Generate key
run: php artisan key:generate
- name: Database seeder test - name: Database seeder test
run: php artisan migrate:fresh --seed run: php artisan migrate:fresh --seed
- name: Generate key
run: php artisan key:generate
- name : Developer test - name : Developer test
run: php artisan test run: php artisan test

Loading…
Cancel
Save