-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
32 lines (19 loc) · 1.15 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
php.connect74:
docker run --rm -it -v "${PWD}":/usr/src/myapp -w /usr/src/myapp pimlab/composer:2.0.0-alpha3-php7.4 sh
#php.connect82:
# docker run --rm -it -v "${PWD}":/usr/src/myapp -w /usr/src/myapp shopware/development:8.2-composer-2 bash
php.connect82xdebug:
docker run --rm -it -v "${PWD}":/usr/src/myapp -w /usr/src/myapp sineverba/php8xc:1.15.0 bash
php.connect83xdebug:
docker run --rm -it -v "${PWD}":/usr/src/myapp -w /usr/src/myapp sineverba/php8xc:1.18.0 bash
phpstan:
docker run --rm -it -v "${PWD}":/usr/src/myapp -w /usr/src/myapp shopware/development:8.2-composer-2 sh -c 'composer run phpstan'
##########################
# Tests
##########################
unit.run:
docker run --rm -it -v "${PWD}":/usr/src/myapp -w /usr/src/myapp shopware/development:8.2-composer-2 sh -c 'composer run phpunit -- --do-not-cache-result'
unit.generate.report.html:
docker run --rm -it -v "${PWD}":/usr/src/myapp -w /usr/src/myapp sineverba/php8xc:1.18.0 sh -c 'composer run phpunit-report-html'
unit.generate.report.clover:
docker run --rm -it -v "${PWD}":/usr/src/myapp -w /usr/src/myapp sineverba/php8xc:1.18.0 sh -c 'composer run phpunit-report-clover'