Skip to content

Commit 5b1ae1a

Browse files
committed
Update coverage config
1 parent 8645091 commit 5b1ae1a

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

.github/workflows/tests.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,17 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
17-
setup: ['lowest', 'stable', 'next']
16+
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
17+
setup: ['stable']
18+
include:
19+
- php: '7.0'
20+
setup: 'lowest'
21+
- php: '7.0'
22+
setup: 'next'
23+
- php: '8.5'
24+
setup: 'lowest'
25+
- php: '8.5'
26+
setup: 'next'
1827

1928
name: PHP ${{ matrix.php }} - ${{ matrix.setup }}
2029

@@ -62,11 +71,14 @@ jobs:
6271
MATRIX_CONFIG: ${{ matrix.php }}-${{ matrix.setup }}
6372

6473
- name: Code Climate Test Reporter
65-
if: ${{ matrix.php == '7.4' && matrix.setup == 'stable' && env.CC_TEST_REPORTER_ID != '' }}
66-
run: ./cc-test-reporter after-build --exit-code 0
67-
env:
68-
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
74+
if: ${{ matrix.php == '7.4' && matrix.setup == 'stable' }}
75+
uses: qltysh/qlty-action/coverage@v2
76+
with:
77+
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
78+
files: clover.xml
6979

7080
- name: Coverage
7181
if: matrix.php == '7.4' && matrix.setup == 'stable'
72-
run: bash <(curl -s https://codecov.io/bash)
82+
uses: codecov/codecov-action@v5
83+
with:
84+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)