Browse Source

ci: fix workaround for php 7.2

pull/126/head
sualko 2 years ago
parent
commit
0987d51480
  1. 2
      .github/workflows/php-test.yml
  2. 2
      composer.json
  3. 688
      composer.lock
  4. 23
      phpunit.xml

2
.github/workflows/php-test.yml

@ -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

2
composer.json

@ -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",

688
composer.lock
File diff suppressed because it is too large
View File

23
phpunit.xml

@ -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>
Loading…
Cancel
Save