Skip to content

Commit

Permalink
use codecov action
Browse files Browse the repository at this point in the history
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
  • Loading branch information
brettmc committed Apr 28, 2024
1 parent 5a395e0 commit 897814f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 897814f

Please sign in to comment.