Skip to content

Commit

Permalink
test: Disable InfoTest in the CI
Browse files Browse the repository at this point in the history
This tests is giving me headaches and I don't really want to address it
at the moment.
  • Loading branch information
theofidry committed Oct 6, 2023
1 parent 885b725 commit 7e4492b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/Console/Command/InfoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@
use function implode;
use function preg_replace;
use function realpath;
use const PHP_OS_FAMILY;

/**
* @covers \KevinGH\Box\Console\Command\Info
* @covers \KevinGH\Box\Console\Command\PharInfoRenderer
*
* @runTestsInSeparateProcesses This is necessary as instantiating a PHAR in memory may load/autoload some stuff which
* can create undesirable side-effects.
* can create undesirable side effect.
*
* @internal
*/
Expand All @@ -43,6 +44,15 @@ class InfoTest extends CommandTestCase
{
private const FIXTURES = __DIR__.'/../../../fixtures/info';

protected function setUp(): void
{
if (PHP_OS_FAMILY !== 'Darwin') {
$this->markTestSkipped('This test requires more work to be working fine cross-platform.');
}

parent::setUp();
}

protected function getCommand(): Command
{
return new Info();
Expand Down

0 comments on commit 7e4492b

Please sign in to comment.