Skip to content

Commit

Permalink
Why github runner does not detect the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JuGid committed Feb 3, 2024
1 parent b74a28d commit f0a0a11
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 53 deletions.
36 changes: 23 additions & 13 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,30 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/9.3/phpunit.xsd"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
failOnRisky="true"
failOnWarning="true"
bootstrap="tests/bootstrap.php"
convertDeprecationsToExceptions="false"
>
<php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
<server name="SYMFONY_PHPUNIT_REMOVE" value="" />
<server name="SYMFONY_PHPUNIT_VERSION" value="10.4" />
</php>

<testsuites>
<testsuite name="Breadcrumbs Tests">
<directory>./tests/</directory>
<testsuite name="main">
<directory>tests</directory>
</testsuite>
</testsuites>

<coverage>
<coverage processUncoveredFiles="true">
<include>
<directory>./</directory>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</coverage>
</phpunit>

<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>

<!-- Uncomment when adding extensions
<extensions>
</extensions>
-->
</phpunit>
40 changes: 0 additions & 40 deletions phpunit.xml.dist.bak

This file was deleted.

0 comments on commit f0a0a11

Please sign in to comment.