@@ -66,15 +66,15 @@ jobs:
66
66
- name : PHPUnit (Xdebug)
67
67
run : |
68
68
docker-compose -f tests/docker/php${{ matrix.php-version }}/docker-compose.yml exec -T php_fpm_xdebug php -dmemory_limit=-1 vendor/phpunit/phpunit/phpunit --coverage-clover=coverage-xdebug.xml;
69
- if [ ${{ matrix.php-version }} == "7.4" && ${{ matrix.symfony-version }} = = "" ]; then
69
+ if [ " ${{ matrix.php-version }}" = "7.4" ] && [ " ${{ matrix.symfony-version }}" = "" ]; then
70
70
wget https://scrutinizer-ci.com/ocular.phar;
71
71
php ocular.phar code-coverage:upload --format=php-clover coverage-xdebug.xml;
72
72
fi;
73
73
74
74
- name : PHPUnit (PCOV)
75
75
if : matrix.dependencies == 'highest' && matrix.php-version != '7.4'
76
76
run : docker-compose -f tests/docker/php${{ matrix.php-version }}/docker-compose.yml exec -T php_fpm_pcov php vendor/phpunit/phpunit/phpunit --configuration=phpunit-pcov.xml --coverage-clover=coverage-pcov.xml;
77
- if [ ${{ matrix.php-version }} == "7.4" && ${{ matrix.symfony-version }} = = "" ]; then
77
+ if [ " ${{ matrix.php-version }}" = "7.4" ] && [ " ${{ matrix.symfony-version }}" = "" ]; then
78
78
wget https://scrutinizer-ci.com/ocular.phar;
79
79
php ocular.phar code-coverage:upload --format=php-clover coverage-pcov.xml;
80
80
fi;
@@ -85,15 +85,15 @@ jobs:
85
85
- name : Behat (Xdebug)
86
86
run : |
87
87
docker-compose -f tests/docker/php${{ matrix.php-version }}/docker-compose.yml exec -T php_fpm_xdebug php -dmemory_limit=-1 vendor/behat/behat/bin/behat --strict;
88
- if [ ${{ matrix.php-version }} == "7.4" && ${{ matrix.symfony-version }} = = "" ]; then
88
+ if [ " ${{ matrix.php-version }}" = "7.4" ] && [ " ${{ matrix.symfony-version }}" = "" ]; then
89
89
wget https://scrutinizer-ci.com/ocular.phar;
90
90
php ocular.phar code-coverage:upload --format=php-clover build/coverage-behat/clover.xml;
91
91
fi;
92
92
93
93
- name : Behat (PCOV)
94
94
run : |
95
95
docker-compose -f tests/docker/php${{ matrix.php-version }}/docker-compose.yml exec -T php_fpm_pcov php vendor/behat/behat/bin/behat --strict;
96
- if [ ${{ matrix.php-version }} == "7.4" && ${{ matrix.symfony-version }} = = "" ]; then
96
+ if [ " ${{ matrix.php-version }}" = "7.4" ] && [ " ${{ matrix.symfony-version }}" = "" ]; then
97
97
wget https://scrutinizer-ci.com/ocular.phar;
98
98
php ocular.phar code-coverage:upload --format=php-clover build/coverage-behat/clover.xml;
99
99
fi;
0 commit comments