Skip to content

Commit 8b2d0e5

Browse files
authored
Increase release time to 30 seconds (#43)
* Increase release time to 30 seconds
1 parent 9206866 commit 8b2d0e5

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Install dependencies
3535
run: |
3636
composer config allow-plugins.pestphp/pest-plugin true
37-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" pestphp/pest --no-interaction --no-update
37+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
3838
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
3939
- name: Execute tests
4040
run: XDEBUG_MODE=coverage php vendor/bin/pest --coverage --min=100

composer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"larastan/larastan": "^2.5",
1515
"phpstan/phpstan-mockery": "^1.1",
1616
"phpunit/phpunit": "^10.1",
17-
"orchestra/testbench": "^8.0|^9.0"
17+
"orchestra/testbench": "^8.0|^9.0",
18+
"pestphp/pest": "^2.0"
1819
},
1920
"authors": [
2021
{
@@ -50,7 +51,10 @@
5051
"fix-style": "pint"
5152
},
5253
"config": {
53-
"sort-packages": true
54+
"sort-packages": true,
55+
"allow-plugins": {
56+
"pestphp/pest-plugin": true
57+
}
5458
},
5559
"extra": {
5660
"laravel": {

src/Jobs/Middleware/AvailableMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class AvailableMiddleware
1111

1212
protected int $seconds;
1313

14-
public function __construct(?string $connection = null, int $seconds = 5)
14+
public function __construct(?string $connection = null, int $seconds = 30)
1515
{
1616
$this->connection = $connection ?? config('magento.connection');
1717
$this->seconds = $seconds;

0 commit comments

Comments
 (0)