We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63d59e2 commit e6ab7f7Copy full SHA for e6ab7f7
.github/workflows/php.yml
@@ -38,3 +38,27 @@ jobs:
38
39
- name: Run unit tests
40
run: ./vendor/bin/phpunit --testdox
41
+
42
+ coverage:
43
+ runs-on: ubuntu-latest
44
45
+ steps:
46
+ - uses: actions/checkout@v1
47
48
+ - name: Setup PHP
49
+ uses: shivammathur/setup-php@v1
50
+ with:
51
+ php-version: 7.4
52
+ extensions: mbstring, intl, json
53
+ coverage: pcov
54
55
+ - name: Install dependencies
56
+ run: composer install --prefer-dist --no-progress --no-suggest
57
58
+ - name: Test & publish code coverage
59
+ uses: paambaati/codeclimate-action@v2.3.0
60
+ env:
61
+ CC_TEST_REPORTER_ID: ${{ secrets.codeClimateReporterID }}
62
63
+ coverageCommand: ./vendor/bin/phpunit --coverage-clover=clover.xml
64
+ debug: true
0 commit comments