Skip to content

Commit 3e303ee

Browse files
committed
Added reporting to Code Climate.
1 parent c2c0c54 commit 3e303ee

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,8 @@ jobs:
3737
- run: composer install
3838
- run: composer audit
3939
- run: composer run test
40+
- name: Test & publish code coverage
41+
if: ${{ matrix.php == '8.2' && matrix.os == 'ubuntu-latest' }}
42+
uses: paambaati/codeclimate-action@v4.0.0
43+
env:
44+
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_REPORTER_ID }}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@phpunit"
5151
],
5252
"phpstan": "vendor/bin/phpstan analyse src tests --level 5",
53-
"phpunit": "XDEBUG_MODE=coverage vendor/bin/phpunit tests/src --verbose --coverage-text"
53+
"phpunit": "vendor/bin/phpunit tests/src --verbose --coverage-text"
5454
},
5555
"config": {
5656
"allow-plugins": {

0 commit comments

Comments
 (0)