diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 2365326..1c97b55 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 cf87dc0..8d6fb31 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 b5d6822..0000000 --- a/tests/.coveralls.yml +++ /dev/null @@ -1,3 +0,0 @@ -service_name: github-action -coverage_clover: coverage.xml -json_path: coverage.json