File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -13,24 +13,35 @@ jobs:
1313
1414 steps :
1515 - uses : actions/checkout@v2
16+
1617 - name : Copy .env
1718 run : php -r "file_exists('.env') || copy('.env.example', '.env');"
19+
20+ - name : Update Dependencies (if needed)
21+ run : composer update --no-ansi --no-interaction --no-scripts --no-progress
22+
1823 - name : Install Dependencies
1924 run : composer install -q --no-ansi --no-interaction --no-scripts --no-progress
25+
2026 - name : Generate key
2127 run : php artisan key:generate
28+
2229 - name : Directory Permissions
2330 run : chmod -R 777 storage bootstrap/cache
31+
2432 - name : Create Database
2533 run : |
2634 mkdir -p database
2735 touch database/database.sqlite
36+
2837 - name : Build assets for development
2938 env :
3039 LARAVEL_BYPASS_ENV_CHECK : 1
3140 run : npm install && npm run dev &
41+
3242 - name : Wait for server to start
3343 run : sleep 10s
44+
3445 - name : Execute tests (Unit and Feature tests) via PHPUnit
3546 env :
3647 DB_CONNECTION : sqlite
You can’t perform that action at this time.
0 commit comments