mirror of https://github.com/sualko/cloud_bbb
ci: fix workaround for php 7.2
parent
f78fd5c47e
commit
0987d51480
|
@ -44,7 +44,7 @@ jobs:
|
||||||
- name: Downgrade phpunit for php7.2
|
- name: Downgrade phpunit for php7.2
|
||||||
if: ${{ matrix.php-versions == '7.2' }}
|
if: ${{ matrix.php-versions == '7.2' }}
|
||||||
working-directory: nextcloud/apps/bbb
|
working-directory: nextcloud/apps/bbb
|
||||||
run: composer update christophwurst/nextcloud_testing -W
|
run: composer update phpunit/phpunit -W
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
working-directory: nextcloud/apps/bbb
|
working-directory: nextcloud/apps/bbb
|
||||||
run: composer install
|
run: composer install
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"littleredbutton/bigbluebutton-api-php": "^3.0"
|
"littleredbutton/bigbluebutton-api-php": "^3.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^8",
|
"phpunit/phpunit": "^8.5 || ^9.3",
|
||||||
"friendsofphp/php-cs-fixer": "^2.16",
|
"friendsofphp/php-cs-fixer": "^2.16",
|
||||||
"nextcloud/coding-standard": "^0.3.0",
|
"nextcloud/coding-standard": "^0.3.0",
|
||||||
"phpstan/phpstan": "^0.12.29",
|
"phpstan/phpstan": "^0.12.29",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
23
phpunit.xml
23
phpunit.xml
|
@ -1,12 +1,13 @@
|
||||||
<phpunit bootstrap="tests/bootstrap.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true">
|
<?xml version="1.0"?>
|
||||||
<testsuites>
|
<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">
|
||||||
<testsuite name="unit">
|
<coverage processUncoveredFiles="true">
|
||||||
<directory>tests/Unit</directory>
|
<include>
|
||||||
</testsuite>
|
<directory suffix=".php">lib</directory>
|
||||||
</testsuites>
|
</include>
|
||||||
<filter>
|
</coverage>
|
||||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
<testsuites>
|
||||||
<directory suffix=".php">lib</directory>
|
<testsuite name="unit">
|
||||||
</whitelist>
|
<directory>tests/Unit</directory>
|
||||||
</filter>
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|
Loading…
Reference in New Issue