From 7856f083366b80e9d1997847a145293158dd65c7 Mon Sep 17 00:00:00 2001 From: Oh My Felix Date: Fri, 6 Mar 2026 15:57:46 +0000 Subject: [PATCH] chore migrate coverage reporting to codecov --- .github/workflows/main.yaml | 14 +++++++------- README.md | 2 +- tests/.coveralls.yml | 3 --- 3 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 tests/.coveralls.yml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 2365326d..1c97b558 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -271,11 +271,11 @@ jobs: - name: "Tests" run: "make coverage" - - name: "Coveralls.io" + - name: "Codecov" + uses: "codecov/codecov-action@v4" + with: + files: "./coverage.xml" + fail_ci_if_error: true + verbose: true env: - CI_NAME: github - CI: true - COVERALLS_REPO_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - run: | - wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.5.2/php-coveralls.phar - php php-coveralls.phar --verbose --config tests/.coveralls.yml + CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" diff --git a/README.md b/README.md index cf87dc0b..8d6fb31d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@

- +

diff --git a/tests/.coveralls.yml b/tests/.coveralls.yml deleted file mode 100644 index b5d68225..00000000 --- a/tests/.coveralls.yml +++ /dev/null @@ -1,3 +0,0 @@ -service_name: github-action -coverage_clover: coverage.xml -json_path: coverage.json