From 8254d1f3a990aaa9023f7d8603c2f9d1bfac175c Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 24 Jan 2025 22:12:18 +0100 Subject: [PATCH 01/10] Update PHPUnit config for code coverage --- phpunit.xml.dist | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 265a57a..885c94d 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -21,4 +21,10 @@ src + + + + src + + From fb09697d6026d5b42fa998ef6493fe559e07a04a Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 24 Jan 2025 23:35:58 +0100 Subject: [PATCH 02/10] change config file --- phpunit.xml.dist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 885c94d..b54c4fd 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -22,9 +22,9 @@ - + src - + From 1cc741906ae18ca48a7cc328f0a446325df3a333 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Sat, 25 Jan 2025 00:00:57 +0100 Subject: [PATCH 03/10] Update config file format --- phpunit.xml.dist | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index b54c4fd..13a19c8 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -12,15 +12,11 @@ convertDeprecationsToExceptions="true" colors="true" verbose="true"> - - tests - - - - - src - - + + + tests + + From 1758584b40d89719d8fbbf72f42cc240e3731c1f Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Sat, 25 Jan 2025 18:45:24 +0100 Subject: [PATCH 04/10] Switch branch --- .github/workflows/testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index bf67592..ffb3b67 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -12,4 +12,4 @@ on: jobs: test: - uses: wp-cli/.github/.github/workflows/reusable-testing.yml@main + uses: wp-cli/.github/.github/workflows/reusable-testing.yml@code-coverage From c5e39375096f785cbec391428b8fad85bfc6e927 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Sat, 25 Jan 2025 19:37:06 +0100 Subject: [PATCH 05/10] Switch branch of wp-cli-tests --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8a67a3b..2703eb4 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ }, "require-dev": { "wp-cli/scaffold-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^4" + "wp-cli/wp-cli-tests": "dev-code-coverage" }, "suggest": { "ext-json": "Used for reading and generating JSON translation files", From caf5cac348c74e9c70becee46510f4afba78094b Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 28 Jan 2025 17:35:46 +0100 Subject: [PATCH 06/10] Trigger build From df5ece9ac3b017c1fb4e13cc8b64c392e97ca77f Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 28 Jan 2025 18:23:45 +0100 Subject: [PATCH 07/10] Trigger build From e36a12d79178dbb3b98654cc182dfe9431fe51be Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 28 Jan 2025 20:02:12 +0100 Subject: [PATCH 08/10] Trigger build From 8922d3da4ac09f4d1547ccb42cb10ca4d814d598 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 30 Jan 2025 09:23:54 +0100 Subject: [PATCH 09/10] Undo workflow change --- .github/workflows/testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index ffb3b67..bf67592 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -12,4 +12,4 @@ on: jobs: test: - uses: wp-cli/.github/.github/workflows/reusable-testing.yml@code-coverage + uses: wp-cli/.github/.github/workflows/reusable-testing.yml@main From a5b4752ea6387425d8f0329ef2ca353a3878f8d5 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 30 Jan 2025 09:23:59 +0100 Subject: [PATCH 10/10] Update `.gitignore` --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index ca74f0d..573cc79 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ phpcs.xml .phpcs.xml .phpunit.result.cache .phpunit.cache +build/logs