File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -13,24 +13,35 @@ jobs:
13
13
14
14
steps :
15
15
- uses : actions/checkout@v2
16
+
16
17
- name : Copy .env
17
18
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
+
18
23
- name : Install Dependencies
19
24
run : composer install -q --no-ansi --no-interaction --no-scripts --no-progress
25
+
20
26
- name : Generate key
21
27
run : php artisan key:generate
28
+
22
29
- name : Directory Permissions
23
30
run : chmod -R 777 storage bootstrap/cache
31
+
24
32
- name : Create Database
25
33
run : |
26
34
mkdir -p database
27
35
touch database/database.sqlite
36
+
28
37
- name : Build assets for development
29
38
env :
30
39
LARAVEL_BYPASS_ENV_CHECK : 1
31
40
run : npm install && npm run dev &
41
+
32
42
- name : Wait for server to start
33
43
run : sleep 10s
44
+
34
45
- name : Execute tests (Unit and Feature tests) via PHPUnit
35
46
env :
36
47
DB_CONNECTION : sqlite
You can’t perform that action at this time.
0 commit comments