From d0f88359b65c7d0d309ec8195c5d8c2e52643c90 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 26 Feb 2026 22:48:21 +0000
Subject: [PATCH 1/3] Initial plan
From 6777c049a6f4357e8381c3c7e108129a948e6fcd Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 26 Feb 2026 22:49:55 +0000
Subject: [PATCH 2/3] Migrate from Coveralls to Codecov for coverage reporting
Co-authored-by: BenMorel <1952838+BenMorel@users.noreply.github.com>
---
.github/workflows/ci.yml | 10 ++++------
README.md | 2 +-
composer.json | 1 -
3 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index efbcba7..37a7ccd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -73,13 +73,11 @@ jobs:
if: ${{ matrix.php-version != env.COVERAGE_PHP_VERSION }}
- name: Run PHPUnit with coverage
- run: |
- mkdir -p mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
+ run: vendor/bin/phpunit --coverage-clover clover.xml
if: ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
- - name: Upload coverage report to Coveralls
- run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v5
env:
- COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}
diff --git a/README.md b/README.md
index 7ba5dd1..ae5beba 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ This library is a foundation to read schema.org structured data in [brick/schema
but may be used with other vocabularies.
[](https://github.com/brick/structured-data/actions)
-[](https://coveralls.io/github/brick/structured-data?branch=master)
+
[](https://packagist.org/packages/brick/structured-data)
[](https://packagist.org/packages/brick/structured-data)
[](http://opensource.org/licenses/MIT)
diff --git a/composer.json b/composer.json
index 0827ad7..ded2949 100644
--- a/composer.json
+++ b/composer.json
@@ -19,7 +19,6 @@
},
"require-dev": {
"phpunit/phpunit": "^8.0 || ^9.0",
- "php-coveralls/php-coveralls": "^2.0",
"vimeo/psalm": "6.12.0"
},
"autoload": {
From 8c95e6be864d40b13d0eba551bad3486da1c7782 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 27 Feb 2026 00:31:53 +0000
Subject: [PATCH 3/3] Use Markdown syntax for Codecov badge instead of HTML
Co-authored-by: BenMorel <1952838+BenMorel@users.noreply.github.com>
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index ae5beba..ddf5772 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ This library is a foundation to read schema.org structured data in [brick/schema
but may be used with other vocabularies.
[](https://github.com/brick/structured-data/actions)
-
+[](https://codecov.io/github/brick/structured-data)
[](https://packagist.org/packages/brick/structured-data)
[](https://packagist.org/packages/brick/structured-data)
[](http://opensource.org/licenses/MIT)