diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 73ab63e5..17f67fd2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,8 +3,6 @@ name: Tests on: push: pull_request: - schedule: - - cron: '0 0 * * *' jobs: tests: diff --git a/bin/worker.php b/bin/worker.php index 4c2f7be2..bc29fa44 100644 --- a/bin/worker.php +++ b/bin/worker.php @@ -81,6 +81,7 @@ $bootPest = (static function (): void { $getopt['teamcity-file'] ?? null, $getopt['testdox-file'] ?? null, isset($getopt['testdox-color']), + $getopt['testdox-columns'] ?? null, ); while (true) { diff --git a/src/Pest.php b/src/Pest.php index ac2e5b6a..59cfc157 100644 --- a/src/Pest.php +++ b/src/Pest.php @@ -6,7 +6,7 @@ namespace Pest; function version(): string { - return '3.0.0-dev-0005'; + return '3.0.0-dev-0006'; } function testDirectory(string $file = ''): string diff --git a/src/Plugins/Printer.php b/src/Plugins/Printer.php index b4f4bee3..2e3091ea 100644 --- a/src/Plugins/Printer.php +++ b/src/Plugins/Printer.php @@ -22,6 +22,10 @@ final class Printer implements HandlesArguments return $arguments; } + if (in_array('--no-output', $arguments, true)) { + return $arguments; + } + return $this->pushArgument('--no-output', $arguments); } } diff --git a/src/Support/Exporter.php b/src/Support/Exporter.php index ea02ce61..d653fc02 100644 --- a/src/Support/Exporter.php +++ b/src/Support/Exporter.php @@ -64,6 +64,8 @@ final class Exporter continue; } + assert(is_array($data)); + $result[] = $context->contains($data[$key]) !== false ? '*RECURSION*' : sprintf('[%s]', $this->shortenedRecursiveExport($data[$key], $context));