Skip to content

Commit af7ca01

Browse files
committed
chore: update test coverage upload process in PHP workflow
1 parent ba85825 commit af7ca01

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/php.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,14 @@ jobs:
7171
run: composer install --prefer-dist --no-interaction --no-suggest
7272

7373
- name: Run test suite
74-
uses: paambaati/codeclimate-action@v9
75-
env:
76-
CC_TEST_REPORTER_ID: ${{ secrets.CC_REPORTER_ID }}
74+
run: composer run-script test-coverage
75+
76+
- name: Upload Coverage
77+
uses: qltysh/qlty-action/coverage@v2
7778
with:
78-
coverageCommand: composer run-script test-coverage
79-
coverageLocations: ${{github.workspace}}/coverage.xml:clover
79+
token: ${{ secrets.COVERAGE_TOKEN }}
80+
files: ${{github.workspace}}/coverage.xml
81+
format: clover
8082
static-analysis:
8183
runs-on: ubuntu-latest
8284
name: Psalm

0 commit comments

Comments
 (0)