Skip to content

Commit 0ddff11

Browse files
committed
ci: #18 migrate to new qlty action for coverage
1 parent 27ae45f commit 0ddff11

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,10 @@ jobs:
6565
- name: Install dependencies
6666
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
6767

68-
- name: Test & publish code coverage
69-
uses: paambaati/codeclimate-action@v5.0.0
70-
env:
71-
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
68+
- name: Run Tests with coverage
69+
run: composer test-coverage
70+
71+
- uses: qltysh/qlty-action/coverage@v1
7272
with:
73-
coverageCommand: composer test-coverage
74-
coverageLocations: |
75-
${{github.workspace}}/build/logs/clover.xml:clover
73+
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
74+
files: build/coverage/clover.xml

0 commit comments

Comments
 (0)