From 0f469665f15183c7f4920a435b963e626f359aa4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 27 Feb 2026 12:54:28 +0000 Subject: [PATCH 1/2] Initial plan From d949f95089f9426e4db03a4bd4d5c1474fff512e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 27 Feb 2026 12:56:18 +0000 Subject: [PATCH 2/2] 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 a3e2c3a..19a4ece 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,13 +72,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 acf6253..491233e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ brick/date-time-doctrine Doctrine type mappings for [brick/date-time](https://github.com/brick/date-time). [![Build Status](https://github.com/brick/date-time-doctrine/workflows/CI/badge.svg)](https://github.com/brick/date-time-doctrine/actions) -[![Coverage Status](https://coveralls.io/repos/github/brick/date-time-doctrine/badge.svg?branch=master)](https://coveralls.io/github/brick/date-time-doctrine?branch=master) +[![Coverage](https://codecov.io/github/brick/date-time-doctrine/graph/badge.svg)](https://codecov.io/github/brick/date-time-doctrine) [![Latest Stable Version](https://poser.pugx.org/brick/date-time-doctrine/v/stable)](https://packagist.org/packages/brick/date-time-doctrine) [![Total Downloads](https://poser.pugx.org/brick/date-time-doctrine/downloads)](https://packagist.org/packages/brick/date-time-doctrine) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT) diff --git a/composer.json b/composer.json index ab2cde2..ffe4745 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,6 @@ "ext-pdo": "*", "ext-pdo_sqlite": "*", "phpunit/phpunit": "^11.0", - "php-coveralls/php-coveralls": "^2.4", "vimeo/psalm": "6.14.3", "guzzlehttp/guzzle": "^7.0", "symfony/cache": "^5.0 || ^6.0 || ^7.0"