Skip to content

Commit 04030c2

Browse files
committed
chore: Copy .env file and generate application key in CI workflow
1 parent 6f94bda commit 04030c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
- name: Install dependencies
4141
run: composer install --prefer-dist --no-progress --optimize-autoloader
4242

43+
- name: Copy .env file
44+
run: cp .env.example .env
45+
46+
- name: Generate application key
47+
run: php artisan key:generate
48+
4349
- name: Run tests
4450
run: vendor/bin/phpunit --coverage-text --colors=never
4551

0 commit comments

Comments
 (0)