From 3f8ebd85d0b94796f51fe9c1cfca4e1fc67c0e32 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 21 Sep 2023 06:35:48 +0800 Subject: [PATCH 01/12] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core b/core index dab86f4..8108f16 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit dab86f4a5a6beba26920c7076d669d73f878e89a +Subproject commit 8108f1676f003059605aa8d823afb23a6f4f1c7a From 2e2198fd72a7213433bcc9cce201d6de1293467b Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Fri, 22 Sep 2023 11:37:47 +0800 Subject: [PATCH 02/12] wip Signed-off-by: Mior Muhammad Zaki --- bin/sync | 23 +++++++++++++++++++++++ core | 2 +- sync.sh | 12 ------------ 3 files changed, 24 insertions(+), 13 deletions(-) create mode 100755 bin/sync delete mode 100755 sync.sh diff --git a/bin/sync b/bin/sync new file mode 100755 index 0000000..14c82a7 --- /dev/null +++ b/bin/sync @@ -0,0 +1,23 @@ +#!/usr/bin/env php +>>> Checkout branch {$BRANCH}"; + +Illuminate\Support\Collection::make([ + "git checkout $BRANCH", + "git submodule init", + "git submodule foreach git reset --hard HEAD", + "git submodule foreach git checkout $BRANCH", + "git submodule foreach git pull", +])->each(function ($command) use ($workingPath) { + Symfony\Component\Process\Process::fromShellCommandline($command, $workingPath)->mustRun(); +}); + +$files->copy("{$workingPath}/core/testbench.yaml", "{$workingPath}/testbench.yaml"); diff --git a/core b/core index 8117d59..11b98b3 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 8117d59e0c425437a60c6777d55cac8fcd4ca12e +Subproject commit 11b98b3d56fb2bf382b8684741c72caa6e619c8f diff --git a/sync.sh b/sync.sh deleted file mode 100755 index acfd511..0000000 --- a/sync.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -BRANCH='6.x' - -echo ">>>> Checkout branch $BRANCH" -git checkout $BRANCH -git submodule init -git submodule foreach git reset --hard HEAD -git submodule foreach git checkout $BRANCH -git submodule foreach git pull - -cp -rf core/testbench.yaml ./ From 8484c6a0fd64c77ab550a6ccd725703b3ee5bd0c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Fri, 22 Sep 2023 11:38:49 +0800 Subject: [PATCH 03/12] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d4f2f66..f9ed49e 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": "^7.3 || ^8.0", "laravel/framework": "^8.83.27", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.38", + "orchestra/testbench-core": "^6.39", "phpunit/phpunit": "^8.5.21 || ^9.5.10", "spatie/laravel-ray": "^1.29.7" }, From 463d3b460817037e5daa118ef0b478756ee8f77c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Sep 2023 16:54:12 +0800 Subject: [PATCH 04/12] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index ea0f5f0..83db6e4 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.23.1 <10.25.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": ">=8.11.1 <8.12.0", + "orchestra/testbench-core": "8.x-dev", "orchestra/workbench": "^0.3.0", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", diff --git a/core b/core index 5fb054f..7dd1dbc 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 5fb054fc7705ab40b2d2f856a55057aec4abe0b2 +Subproject commit 7dd1dbce6125ffceffebe25b034d3a18a9d2ed94 From 72f55680701908d42452047073fb90e37f1b766f Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Sep 2023 17:25:54 +0800 Subject: [PATCH 05/12] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- core | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c7bc99c..40da290 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": "^9.52.15", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.31", + "orchestra/testbench-core": "^7.32", "orchestra/workbench": "^0.3.0", "phpunit/phpunit": "^9.5.10", "spatie/laravel-ray": "^1.32.4", diff --git a/core b/core index 8108f16..40f6395 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 8108f1676f003059605aa8d823afb23a6f4f1c7a +Subproject commit 40f6395f48adc0967991d44e8b969fb80fa4874b From 424cae44cb91dc1c04af889743121853d2096326 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Sep 2023 17:42:18 +0800 Subject: [PATCH 06/12] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 40da290..298dca6 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "laravel/framework": "^9.52.15", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": "^7.32", - "orchestra/workbench": "^0.3.0", + "orchestra/workbench": "^0.4.0", "phpunit/phpunit": "^9.5.10", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.0.9", From a22644ae2a9dfadb6bbdd22a1496023104805e88 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Sep 2023 17:44:45 +0800 Subject: [PATCH 07/12] wip Signed-off-by: Mior Muhammad Zaki --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 83db6e4..c482320 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "laravel/framework": ">=10.23.1 <10.25.0", "mockery/mockery": "^1.5.1", "orchestra/testbench-core": "8.x-dev", - "orchestra/workbench": "^0.3.0", + "orchestra/workbench": "^0.4.0", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", "symfony/process": "^6.2", From d9a85209c66cecbebe822377201a6cc43cdc600d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Sep 2023 21:52:01 +0800 Subject: [PATCH 08/12] wip Signed-off-by: Mior Muhammad Zaki --- core | 2 +- testbench.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core b/core index 11b98b3..7ec6fc2 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 11b98b3d56fb2bf382b8684741c72caa6e619c8f +Subproject commit 7ec6fc2a7f52d2ea4c6476fc4ab818da46c6efe8 diff --git a/testbench.yaml b/testbench.yaml index 789de15..9782177 100644 --- a/testbench.yaml +++ b/testbench.yaml @@ -3,3 +3,6 @@ providers: env: APP_NAME: "Testbench" + +migrations: + - workbench/database/migrations From b23cb93ec1e7a98fa330f6c1ae5643064d3c1d0d Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Sep 2023 21:53:51 +0800 Subject: [PATCH 09/12] Prepare 6.35.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index 9d63ad1..be524d3 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,24 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.35.0 + +Released: 2023-09-25 + +### Changes + +* Update minimum support for Testbench Core v6.39.0+. ([v6.38.0...v6.39.0](https://github.com/orchestral/testbench-core/compare/v6.38.0...v6.39.0)) + +#### Testbench Changes + +##### Added + +* Added `cachedConfigurationForWorkbench()` to `Orchestra\Testbench\Concern\InteractsWithWorkbench` trait. +* Add the ability to read `TESTBENCH_WORKING_PATH` from environment variables for Testbench Dusk usage. +* Supports Workbench `discovers` configuration. +* Add the ability to properly forward Environment Variables. +* Add `usesSqliteInMemoryDatabaseConnection` to `Orchestra\Testbench\Concerns\HandlesDatabases` trait. + ## 6.34.0 Released: 2023-08-29 From 160965cc3823952ec91e7a096e07ee9b8ccab432 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Sep 2023 22:00:07 +0800 Subject: [PATCH 10/12] Prepare 7.32.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-6.x.md | 18 ++++++++++++++++++ CHANGELOG-7.x.md | 19 +++++++++++++++++++ core | 2 +- 3 files changed, 38 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-6.x.md b/CHANGELOG-6.x.md index 9d63ad1..be524d3 100644 --- a/CHANGELOG-6.x.md +++ b/CHANGELOG-6.x.md @@ -2,6 +2,24 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 6.35.0 + +Released: 2023-09-25 + +### Changes + +* Update minimum support for Testbench Core v6.39.0+. ([v6.38.0...v6.39.0](https://github.com/orchestral/testbench-core/compare/v6.38.0...v6.39.0)) + +#### Testbench Changes + +##### Added + +* Added `cachedConfigurationForWorkbench()` to `Orchestra\Testbench\Concern\InteractsWithWorkbench` trait. +* Add the ability to read `TESTBENCH_WORKING_PATH` from environment variables for Testbench Dusk usage. +* Supports Workbench `discovers` configuration. +* Add the ability to properly forward Environment Variables. +* Add `usesSqliteInMemoryDatabaseConnection` to `Orchestra\Testbench\Concerns\HandlesDatabases` trait. + ## 6.34.0 Released: 2023-08-29 diff --git a/CHANGELOG-7.x.md b/CHANGELOG-7.x.md index a1afad4..37cf7d3 100644 --- a/CHANGELOG-7.x.md +++ b/CHANGELOG-7.x.md @@ -2,6 +2,25 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 7.32.0 + +Released: 2023-09-25 + +### Changes + +* Update minimum support for Testbench Core v7.32.0+. ([v7.31.0...v7.32.0](https://github.com/orchestral/testbench-core/compare/v7.31.0...v7.32.0)) +* Update minimum support for Workbench 0.4.0+. + +#### Testbench Changes + +##### Added Added + +* Added `cachedConfigurationForWorkbench()` to `Orchestra\Testbench\Concern\InteractsWithWorkbench` trait. +* Add the ability to read `TESTBENCH_WORKING_PATH` from environment variables for Testbench Dusk usage. +* Supports Workbench `discovers` configuration. +* Add the ability to properly forward Environment Variables. +* Add `usesSqliteInMemoryDatabaseConnection` to `Orchestra\Testbench\Concerns\HandlesDatabases` trait. + ## 7.31.0 Released: 2023-09-19 diff --git a/core b/core index 40f6395..ba9a01a 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 40f6395f48adc0967991d44e8b969fb80fa4874b +Subproject commit ba9a01a94b44e07cceb082e434ef70ebd278021d From 35a0687d17947d1f5da2e498fc01625ff10627b4 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Sep 2023 22:04:50 +0800 Subject: [PATCH 11/12] Prepare 8.12.0 release Signed-off-by: Mior Muhammad Zaki --- CHANGELOG-8.x.md | 19 +++++++++++++++++++ composer.json | 2 +- core | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-8.x.md b/CHANGELOG-8.x.md index 024df80..6273ad5 100644 --- a/CHANGELOG-8.x.md +++ b/CHANGELOG-8.x.md @@ -2,6 +2,25 @@ This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`. +## 8.12.0 + +Released: 2023-09-25 + +### Changes + +* Update minimum support for Testbench Core v8.12.0+. ([v8.11.1...v8.12.0](https://github.com/orchestral/testbench-core/compare/v8.11.1...v8.12.0)) +* Update minimum support for Workbench 0.4.0+. + +#### Testbench Changes + +##### Added Added + +* Added `cachedConfigurationForWorkbench()` to `Orchestra\Testbench\Concern\InteractsWithWorkbench` trait. +* Add the ability to read `TESTBENCH_WORKING_PATH` from environment variables for Testbench Dusk usage. +* Supports Workbench `discovers` configuration. +* Add the ability to properly forward Environment Variables. +* Add `usesSqliteInMemoryDatabaseConnection` to `Orchestra\Testbench\Concerns\HandlesDatabases` trait. + ## 8.11.1 Released: 2023-09-20 diff --git a/composer.json b/composer.json index c482320..7c9b275 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "fakerphp/faker": "^1.21", "laravel/framework": ">=10.23.1 <10.25.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "8.x-dev", + "orchestra/testbench-core": ">=8.12.0 <8.13.0", "orchestra/workbench": "^0.4.0", "phpunit/phpunit": "^9.6 || ^10.1", "spatie/laravel-ray": "^1.32.4", diff --git a/core b/core index ba9a01a..11d1220 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit ba9a01a94b44e07cceb082e434ef70ebd278021d +Subproject commit 11d12200314f86e4c05e719c631fedc94a68a20c From b40f17110e2d39c3b2c6362548a805fff753ae66 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 25 Sep 2023 22:24:52 +0800 Subject: [PATCH 12/12] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 80cc87d..906d4b0 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -110,7 +110,7 @@ jobs: run: composer show -D - name: Execute tests - run: vendor/bin/phpunit --exclude-group commander,core,database,workbench --no-coverage --no-configuration --dont-report-useless-tests --bootstrap vendor/autoload.php core/tests + run: vendor/bin/phpunit --exclude-group commander,core,database,workbench,phpunit-configuration --no-coverage --no-configuration --dont-report-useless-tests --bootstrap vendor/autoload.php core/tests env: RAY_ENABLED: false TESTBENCH_CONVERT_DEPRECATIONS_TO_EXCEPTIONS: true