|
16 | 16 | fail-fast: false |
17 | 17 | matrix: |
18 | 18 | include: |
| 19 | + - php-version: "7.2" |
| 20 | + db-image: 'mysql:5.7' |
| 21 | + reflector: "pdo-mysql" |
| 22 | + mode: "recording" |
19 | 23 | - php-version: "7.3" |
20 | 24 | db-image: 'mysql:5.7' |
21 | 25 | reflector: "pdo-mysql" |
@@ -96,9 +100,13 @@ jobs: |
96 | 100 | # ignore php8.2 requirement error https://github.com/sebastianbergmann/phpunit/issues/5033 |
97 | 101 | composer-options: "--prefer-dist --no-progress --ignore-platform-req=php+" |
98 | 102 |
|
99 | | - - name: Install sqlftw/sqlftw |
| 103 | + - name: Install sqlftw/sqlftw (optional dependency) |
100 | 104 | run: composer require sqlftw/sqlftw --ignore-platform-req=php+ |
101 | | - if: "${{matrix.php-version != '7.3'}}" |
| 105 | + if: "${{matrix.php-version != '7.2' && matrix.php-version != '7.3'}}" |
| 106 | + |
| 107 | + - name: Install doctrine/dbal (optional dependency) |
| 108 | + run: composer require doctrine/dbal --ignore-platform-req=php+ |
| 109 | + if: "${{matrix.php-version != '7.2'}}" |
102 | 110 |
|
103 | 111 | - name: Setup Problem Matchers for PHPUnit |
104 | 112 | run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" |
@@ -148,9 +156,13 @@ jobs: |
148 | 156 | # ignore php8.2 requirement error https://github.com/sebastianbergmann/phpunit/issues/5033 |
149 | 157 | composer-options: "--prefer-dist --no-progress --ignore-platform-req=php+" |
150 | 158 |
|
151 | | - - name: Install sqlftw/sqlftw |
| 159 | + - name: Install sqlftw/sqlftw (optional dependency) |
152 | 160 | run: composer require sqlftw/sqlftw --ignore-platform-req=php+ |
153 | | - if: "${{matrix.php-version != '7.3'}}" |
| 161 | + if: "${{matrix.php-version != '7.2' && matrix.php-version != '7.3'}}" |
| 162 | + |
| 163 | + - name: Install doctrine/dbal (optional dependency) |
| 164 | + run: composer require doctrine/dbal --ignore-platform-req=php+ |
| 165 | + if: "${{matrix.php-version != '7.2'}}" |
154 | 166 |
|
155 | 167 | - name: Setup Problem Matchers for PHPUnit |
156 | 168 | run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" |
|
0 commit comments