Skip to content

Commit f36fbbd

Browse files
Keep feature CI bounded without debug noise
1 parent 25a878b commit f36fbbd

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/php.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,16 @@ jobs:
7777
mysql -e 'CREATE DATABASE testbench' -h127.0.0.1 -uroot -ppassword -P ${{ job.services.mysql.ports[3306] }}
7878
7979
- name: Run test suite (MySQL)
80-
timeout-minutes: 35
81-
run: timeout --foreground 30m vendor/bin/phpunit --testdox --debug --testsuite feature
80+
timeout-minutes: 65
81+
run: timeout --foreground 60m vendor/bin/phpunit --testdox --testsuite feature
8282
env:
8383
DB_CONNECTION: mysql
8484
DB_PORT: ${{ job.services.mysql.ports[3306] }}
8585
QUEUE_CONNECTION: redis
8686

8787
- name: Run test suite (PostgreSQL)
88-
timeout-minutes: 35
89-
run: timeout --foreground 30m vendor/bin/phpunit --testdox --debug --testsuite feature
88+
timeout-minutes: 65
89+
run: timeout --foreground 60m vendor/bin/phpunit --testdox --testsuite feature
9090
env:
9191
DB_CONNECTION: pgsql
9292
DB_PORT: ${{ job.services.postgres.ports[5432] }}

tests/Unit/Providers/WorkflowServiceProviderTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,7 @@ public function testCarryingForwardPackageMigrationOverCustomizedPublishedSet():
190190
$customIndex = " \$table->index('workflow_class', 'workflow_instances_workflow_class_index');\n";
191191
$hook = " \$table->string('workflow_class');\n";
192192
$this->assertStringContainsString($hook, $instancesContents);
193-
file_put_contents(
194-
$instances,
195-
str_replace($hook, $hook . $customIndex, $instancesContents),
196-
);
193+
file_put_contents($instances, str_replace($hook, $hook . $customIndex, $instancesContents));
197194

198195
// 5. Run migrate from the customized published snapshot.
199196
Schema::dropAllTables();

0 commit comments

Comments
 (0)