Browse Source

Try fixing php8 build

Jordi Boggiano 4 years ago
parent
commit
9c0f7d4bce
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .github/workflows/continuous-integration.yml

+ 5 - 0
.github/workflows/continuous-integration.yml

@@ -114,4 +114,9 @@ jobs:
         run: "echo \"::set-env name=SYMFONY_PHPUNIT_VERSION::7.5\""
 
       - name: "Run tests"
+        if: "matrix.php-version != '8.0'"
         run: "vendor/bin/simple-phpunit"
+
+      - name: "Run tests for PHP 8"
+        if: "matrix.php-version == '8.0'"
+        run: "bin/composer remove --dev symfony/phpunit-bridge && bin/composer require phpunit/phpunit:^7.5 --ignore-platform-reqs"