|
11 | 11 | PHPUNIT_FLAGS: "-v"
|
12 | 12 | SYMFONY_PHPUNIT_DIR: "$HOME/symfony-bridge/.phpunit"
|
13 | 13 | SYMFONY_REQUIRE: ">=4.4"
|
| 14 | + # 40x: Since symfony/monolog-bridge 5.2: |
| 15 | + # Passing an actionLevel (int|string) as constructor's 3rd argument of |
| 16 | + # "Symfony\Bridge\Monolog\Handler\FingersCrossed\HttpCodeActivationStrategy" |
| 17 | + # is deprecated, "Monolog\Handler\FingersCrossed\ActivationStrategyInterface" expected. |
| 18 | + SYMFONY_DEPRECATIONS_HELPER: 40 |
14 | 19 |
|
15 | 20 | jobs:
|
16 | 21 | test:
|
17 | 22 | name: "${{ matrix.operating-system }} / PHP ${{ matrix.php-version }}"
|
18 | 23 | runs-on: ${{ matrix.operating-system }}
|
19 |
| - continue-on-error: ${{ matrix.allow-failures }} |
| 24 | + continue-on-error: false |
20 | 25 |
|
21 | 26 | strategy:
|
22 | 27 | matrix:
|
@@ -56,11 +61,18 @@ jobs:
|
56 | 61 | run: composer update
|
57 | 62 |
|
58 | 63 | - if: matrix.php-version == '8.0'
|
59 |
| - run: composer update --ignore-platform-reqs=php |
| 64 | + run: composer update --ignore-platform-req=php |
60 | 65 |
|
61 |
| - - name: "Install PHPUnit" |
| 66 | + - if: matrix.php-version != '8.0' |
| 67 | + name: "Install PHPUnit" |
62 | 68 | run: vendor/bin/simple-phpunit install
|
63 | 69 |
|
| 70 | + - if: matrix.php-version == '8.0' |
| 71 | + name: "Install PHPUnit for PHP 8" |
| 72 | + run: | |
| 73 | + echo 'SYMFONY_PHPUNIT_VERSION=9.4' >> $GITHUB_ENV |
| 74 | + vendor/bin/simple-phpunit install |
| 75 | +
|
64 | 76 | - name: "PHPUnit version"
|
65 | 77 | run: vendor/bin/simple-phpunit --version
|
66 | 78 |
|
|
0 commit comments