Skip to content

Commit

Permalink
Update PHPUnit config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Aug 8, 2024
1 parent d036f81 commit bd99f01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,22 @@ jobs:
dependency-versions: 'lowest'
php-extensions: 'ctype, iconv, mysql, imagick'
tools: 'composer:v2'
env:
SYMFONY_DEPRECATIONS_HELPER: weak

- php-version: '8.2'
dependency-versions: 'highest'
php-extensions: 'ctype, iconv, mysql, imagick'
tools: 'composer:v2'
env:
SYMFONY_DEPRECATIONS_HELPER: weak

- php-version: '8.3'
dependency-versions: 'highest'
php-extensions: 'ctype, iconv, mysql, imagick'
tools: 'composer:v2'
env:
SYMFONY_DEPRECATIONS_HELPER: weak

- php-version: '8.4'
composer-options: '--ignore-platform-reqs'
dependency-versions: 'highest'
php-extensions: 'ctype, iconv, mysql, imagick'
tools: 'composer:v2'
env:
SYMFONY_DEPRECATIONS_HELPER: weak
ELASTICSEARCH_HOST: '127.0.0.1:9200'

services:
mysql:
Expand Down
11 changes: 5 additions & 6 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,17 @@
</testsuite>
</testsuites>

<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory>src</directory>
</whitelist>
</filter>
<source>
<include>
<directory>src/</directory>
</include>
</source>

<php>
<ini name="error_reporting" value="-1" />
<ini name="date.timezone" value="UTC" />
<server name="SHELL_VERBOSITY" value="-1" />
<server name="APP_ENV" value="test" force="true"/>
<server name="KERNEL_CLASS" value="Sulu\Article\Tests\Application\Kernel"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
</php>
</phpunit>

0 comments on commit bd99f01

Please sign in to comment.