Skip to content

Commit 9978eb6

Browse files
Modify phpunit_action.yml file
1 parent 45e67bf commit 9978eb6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/phpunit_action.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)