From 897814f6c65f10c83bffe42d41d7f6700fd86673 Mon Sep 17 00:00:00 2001 From: Brett McBride Date: Sun, 28 Apr 2024 18:09:38 +1000 Subject: [PATCH] use codecov action our previous method of uploading to codecov.io is suffering from throttling and taking 5+ hours, a post in the opentelemetry maintainers channel suggests this is the way to do it now --- .github/workflows/php.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 314c64a5c..efddb4ae7 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -131,7 +131,12 @@ jobs: run: vendor/bin/phpunit --testsuite integration - name: Code Coverage - run: bash <(curl -s https://codecov.io/bash) -F ${{ matrix.php-version }} + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./coverage.clover + flags: unittests + verbose: true packages: uses: opentelemetry-php/gh-workflows/.github/workflows/validate-packages.yml@main