Skip to content

Commit 4546ca2

Browse files
committed
Fix bash
1 parent dedc34d commit 4546ca2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ jobs:
6666
- name: PHPUnit (Xdebug)
6767
run: |
6868
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
7070
wget https://scrutinizer-ci.com/ocular.phar;
7171
php ocular.phar code-coverage:upload --format=php-clover coverage-xdebug.xml;
7272
fi;
7373
7474
- name: PHPUnit (PCOV)
7575
if: matrix.dependencies == 'highest' && matrix.php-version != '7.4'
7676
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
7878
wget https://scrutinizer-ci.com/ocular.phar;
7979
php ocular.phar code-coverage:upload --format=php-clover coverage-pcov.xml;
8080
fi;
@@ -85,15 +85,15 @@ jobs:
8585
- name: Behat (Xdebug)
8686
run: |
8787
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
8989
wget https://scrutinizer-ci.com/ocular.phar;
9090
php ocular.phar code-coverage:upload --format=php-clover build/coverage-behat/clover.xml;
9191
fi;
9292
9393
- name: Behat (PCOV)
9494
run: |
9595
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
9797
wget https://scrutinizer-ci.com/ocular.phar;
9898
php ocular.phar code-coverage:upload --format=php-clover build/coverage-behat/clover.xml;
9999
fi;

0 commit comments

Comments
 (0)