Skip to content

Commit

Permalink
use codecov action (open-telemetry#1294)
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 authored Apr 28, 2024
1 parent 8a6dd47 commit cea2d7c
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: ${{ matrix.php-version }}
verbose: false

packages:
uses: opentelemetry-php/gh-workflows/.github/workflows/validate-packages.yml@main
Expand Down

0 comments on commit cea2d7c

Please sign in to comment.