From 5b09141ec5fd5415f0d3592e0381c54074c1b8d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20L=C3=B8vgaard?= Date: Tue, 17 Sep 2024 13:26:30 +0200 Subject: [PATCH] Update code coverage job --- .github/workflows/build.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5606a9f..22b4399 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -178,9 +178,6 @@ jobs: extensions: "${{ env.PHP_EXTENSIONS }}" php-version: "${{ matrix.php-version }}" - - name: "Set up problem matchers for phpunit/phpunit" - run: "echo \"::add-matcher::${{ runner.tool_cache }}/phpunit.json\"" - - name: "Install composer dependencies" uses: "ramsey/composer-install@v3" with: @@ -190,9 +187,9 @@ jobs: run: "vendor/bin/phpunit --coverage-clover=.build/logs/clover.xml" - name: "Send code coverage report to Codecov.io" - env: - CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" - run: "bash <(curl -s https://codecov.io/bash)" + uses: "codecov/codecov-action@v4" + with: + token: ${{ secrets.CODECOV_TOKEN }} mutation-tests: name: "Mutation tests"