mirror of
https://github.com/discourse/wp-discourse.git
synced 2025-10-03 08:59:21 +08:00
* Update phpunit * phpunit dependency should only be require-dev * Exclude tests from CI php version syntax check * We only need to run sniff and jshint on the latest supported version * Run tests on php 8.2
17 lines
827 B
XML
17 lines
827 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/phpunit/bootstrap.php" backupGlobals="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" convertDeprecationsToExceptions="false" 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 prefix="test-" suffix=".php">tests/phpunit/</directory>
|
|
<exclude>tests/phpunit/multisite/</exclude>
|
|
</testsuite>
|
|
</testsuites>
|
|
<php>
|
|
<server name="REQUEST_URI" value="https://wordpress.discourse.org"/>
|
|
</php>
|
|
</phpunit>
|