File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -257,13 +257,13 @@ jobs:
257257 php ./vendor/bin/phpunit --version
258258 composer --version
259259
260- - name : Prepare Code Climate (https://codeclimate.com/github/tarlepp/symfony-flex-backend/)
261- run : |
262- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
263- chmod +x ./cc-test-reporter
264- GIT_BRANCH=$GITHUB_REF GIT_COMMIT_SHA=$GITHUB_SHA ./cc-test-reporter before-build
265- env :
266- CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }} # https://docs.codeclimate.com/docs/finding-your-test-coverage-token
260+ # - name: Prepare Code Climate (https://codeclimate.com/github/tarlepp/symfony-flex-backend/)
261+ # run: |
262+ # curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
263+ # chmod +x ./cc-test-reporter
264+ # GIT_BRANCH=$GITHUB_REF GIT_COMMIT_SHA=$GITHUB_SHA ./cc-test-reporter before-build
265+ # env:
266+ # CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} # https://docs.codeclimate.com/docs/finding-your-test-coverage-token
267267
268268 - name : Run application test suites with PHPUnit
269269 run : make run-tests-php
@@ -275,6 +275,11 @@ jobs:
275275 env :
276276 CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }} # https://docs.codeclimate.com/docs/finding-your-test-coverage-token
277277
278+ - name : Report results to Scrutinizer (https://scrutinizer-ci.com/g/tarlepp/symfony-flex-backend/)
279+ run : |
280+ composer global require scrutinizer/ocular
281+ ~/.composer/vendor/bin/ocular code-coverage:upload --access-token ${{ secrets.SCRUTINIZER_ACCESS_TOKEN }} --format=php-clover ./build/logs/clover.xml
282+
278283 - name : Report results to Coveralls (https://coveralls.io/github/tarlepp/symfony-flex-backend)
279284 run : php ./vendor/bin/php-coveralls -v
280285 env :
You can’t perform that action at this time.
0 commit comments