Skip to content

Commit cea2d7c

Browse files
authored
use codecov action (#1294)
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
1 parent 8a6dd47 commit cea2d7c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/php.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,12 @@ jobs:
131131
run: vendor/bin/phpunit --testsuite integration
132132

133133
- name: Code Coverage
134-
run: bash <(curl -s https://codecov.io/bash) -F ${{ matrix.php-version }}
134+
uses: codecov/codecov-action@v4
135+
with:
136+
token: ${{ secrets.CODECOV_TOKEN }}
137+
files: ./coverage.clover
138+
flags: ${{ matrix.php-version }}
139+
verbose: false
135140

136141
packages:
137142
uses: opentelemetry-php/gh-workflows/.github/workflows/validate-packages.yml@main

0 commit comments

Comments
 (0)