File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ clean:
3737
3838test-sentinel :
3939 make build
40- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose -f tests/docker/docker-compose.yml build --pull yii2-redis-php
41- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose -f tests/docker/docker-compose.yml run yii2-redis-php vendor/bin/phpunit --coverage-clover=coverage.clover
40+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose -f tests/docker/docker-compose.yml build --pull yii2-redis-php
41+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose -f tests/docker/docker-compose.yml run yii2-redis-php vendor/bin/phpunit --coverage-clover=coverage.clover
4242 make down
4343
4444build : # # Build an image from a docker-compose file. Params: {{ v=8.1 }}. Default latest PHP 8.1
45- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose -f tests/docker/docker-compose.yml up -d --build
45+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose -f tests/docker/docker-compose.yml up -d --build
4646
4747down : # # Stop and remove containers, networks
48- docker- compose -f tests/docker/docker-compose.yml down
48+ docker compose -f tests/docker/docker-compose.yml down
4949
Original file line number Diff line number Diff line change 1- version : ' 3.8'
21
32# NOTE: When using docker-compose for testing, make sure you set 'hostname' to 'redis' in tests/data/config.php
43
Original file line number Diff line number Diff line change 1+
2+ xdebug.mode =debug
3+ xdebug.discover_client_host =1
4+ xdebug.start_with_request =yes
5+
6+ xdebug.client_host =host.docker.internal
7+ xdebug.client_port =9003
8+ xdebug.idekey =PHPSTORM
9+ xdebug.scream =1
10+ xdebug.force_display_errors =1
11+
You can’t perform that action at this time.
0 commit comments