Skip to content

Commit b613ce8

Browse files
committed
update drone configuration
1 parent 4d640b4 commit b613ce8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.drone.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,29 @@ steps:
105105
- rm -rf storage/logs/*
106106
- rm .env
107107

108+
- name: tests-php-8.2
109+
image: knik/php:8.2-fpm-alpine
110+
failure: ignore
111+
environment:
112+
APP_KEY: base64:QhlU2DzlLyaYVHzlh3RlSipTtBhwb3/5jPKbctx2lP8=
113+
DB_CONNECTION: mysql
114+
DB_HOST: db
115+
DB_PORT: 3306
116+
DB_DATABASE: homestead
117+
DB_USERNAME: homestead
118+
DB_PASSWORD: secret
119+
commands:
120+
- cp .env.example .env
121+
- php artisan migrate:fresh --seed
122+
- vendor/bin/phpunit --verbose
123+
- rm -rf storage/app/certs
124+
- rm -rf storage/framework/cache/data/*
125+
- rm -rf storage/framework/sessions/*
126+
- rm -rf storage/framework/views/*
127+
- rm -rf storage/debugbar/*
128+
- rm -rf storage/logs/*
129+
- rm .env
130+
108131
- name: browser-tests
109132
image: knik/php:7.3-fpm-buster
110133
environment:

0 commit comments

Comments
 (0)