Skip to content

Commit

Permalink
Skip tests that need tty on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-1-anderson committed Apr 5, 2024
1 parent 8f8e2ce commit fb0c687
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/SiteProcessTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ public function testSiteProcess(
if ($useTty && Escape::isWindows($os)) {
$this->markTestSkipped('Windows doesn\'t have /dev/tty support');
}
if ($useTty && getenv('CI')) {
$this->markTestSkipped('CI doesn\'t provide /dev/tty support');
}
$processManager = ProcessManager::createDefault();
$siteAlias = new SiteAlias($siteAliasData, '@alias.dev');
$siteProcess = $processManager->siteProcess($siteAlias, $args, $options, $optionsPassedAsArgs);
Expand Down

0 comments on commit fb0c687

Please sign in to comment.