Skip to content

Commit 13b9cba

Browse files
fix: reverted the php changes
1 parent 9e8ca83 commit 13b9cba

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/php_lib_pull_requests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,11 @@ jobs:
108108
run: ${{ inputs.COMPOSER_WORKING_DIRECTORY }}/vendor/bin/phpunit --log-junit junit.xml --coverage-clover coverage.xml --testsuite ${{ inputs.PHP_UNIT_TESTSUITE }}
109109
- name: Upload test coverage results to Codecov
110110
if: ${{ inputs.PHP_UNIT }}
111-
uses: codecov/codecov-action@v5
111+
uses: codecov/codecov-action@v4
112112
with:
113-
report-type: test_results
114-
token: ${{ secrets.CODECOV_TOKEN }}
113+
token: ${{ secrets.CODECOV_TOKEN }}
114+
- name: Upload test results to Codecov
115+
if: ${{ inputs.PHP_UNIT }}
116+
uses: codecov/test-results-action@v1
117+
with:
118+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/php_lib_push_main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,13 @@ jobs:
9090
run: ${{ inputs.COMPOSER_WORKING_DIRECTORY }}/vendor/bin/phpunit --log-junit junit.xml --coverage-clover coverage.xml --testsuite ${{ inputs.PHP_UNIT_TESTSUITE }}
9191
- name: Upload test coverage results to Codecov
9292
if: ${{ inputs.PHP_UNIT }}
93-
uses: codecov/codecov-action@v5
93+
uses: codecov/codecov-action@v4
94+
with:
95+
token: ${{ secrets.CODECOV_TOKEN }}
96+
- name: Upload test results to Codecov
97+
if: ${{ inputs.PHP_UNIT }}
98+
uses: codecov/test-results-action@v1
9499
with:
95-
report-type: test_results
96100
token: ${{ secrets.CODECOV_TOKEN }}
97101
release:
98102
#

0 commit comments

Comments
 (0)