ci: fix workaround for php 7.2

pull/126/head
sualko 2021-02-13 17:46:36 +01:00
parent f78fd5c47e
commit 0987d51480
4 changed files with 527 additions and 264 deletions

View File

@ -44,7 +44,7 @@ jobs:
- name: Downgrade phpunit for php7.2
if: ${{ matrix.php-versions == '7.2' }}
working-directory: nextcloud/apps/bbb
run: composer update christophwurst/nextcloud_testing -W
run: composer update phpunit/phpunit -W
- name: Install dependencies
working-directory: nextcloud/apps/bbb
run: composer install

View File

@ -13,7 +13,7 @@
"littleredbutton/bigbluebutton-api-php": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^8",
"phpunit/phpunit": "^8.5 || ^9.3",
"friendsofphp/php-cs-fixer": "^2.16",
"nextcloud/coding-standard": "^0.3.0",
"phpstan/phpstan": "^0.12.29",

764
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,13 @@
<phpunit bootstrap="tests/bootstrap.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true">
<testsuites>
<testsuite name="unit">
<directory>tests/Unit</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">lib</directory>
</whitelist>
</filter>
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/bootstrap.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">lib</directory>
</include>
</coverage>
<testsuites>
<testsuite name="unit">
<directory>tests/Unit</directory>
</testsuite>
</testsuites>
</phpunit>