File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -66,15 +66,26 @@ jobs:
66
66
working-directory : app
67
67
dependencies : ${{ matrix.dependencies }}
68
68
69
+ - name : 🛠️ Prepare environment
70
+ run : |
71
+ make env
72
+ cp .env app/.env
73
+ env :
74
+ APP_NAME : laravel
75
+ SHARED_SERVICES_NAMESPACE : ss
76
+ PROJECT_SERVICES_NAMESPACE : wod
77
+ COMPOSE_PROJECT_NAME : laravel-starter-tpl
78
+
69
79
- name : 🔑 Generate secret application key
70
- working-directory : app
71
- run : php artisan key:generate
80
+ run : make key
72
81
73
82
- name : 🔗 Create laravel storage symlinks
74
- working-directory : app
75
- run : php artisan storage:link
83
+ run : make storage
76
84
77
85
- name : 🧪 Collect code coverage with Xdebug and pestphp/pest
86
+ env :
87
+ DB_CONNECTION : sqlite
88
+ DB_DATABASE : ' :memory:'
78
89
run : make test-cc
79
90
80
91
- name : 📤 Upload code coverage report to Codecov
Original file line number Diff line number Diff line change @@ -138,6 +138,10 @@ key: ## Runs artisan command to create app encryption key
138
138
$(APP_RUNNER ) php artisan key:generate
139
139
.PHONY : key
140
140
141
+ storage : # # Runs artisan command to create symbolic link from public/storage to storage/app/public
142
+ $(APP_RUNNER ) php artisan storage:link
143
+ .PHONY : storage
144
+
141
145
prepare :
142
146
mkdir -p app/.build/php-cs-fixer
143
147
.PHONY : prepare
You can’t perform that action at this time.
0 commit comments