File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,9 +16,11 @@ workflows:
1616 dependencyCheckSumFile : " ./composer.json"
1717 requires :
1818 - ci-caching/build-docker-images
19- - coverage :
19+ - ci-php/ coverage :
2020 context : dockerhub-credentials
21+ dependencyCheckSumFile : " ./composer.json"
2122 requires :
23+ - ci-caching/build-docker-images
2224 - ci-php/install-dependencies
2325 - ci-php/code-style :
2426 context : dockerhub-credentials
@@ -66,21 +68,3 @@ workflows:
6668 requires :
6769 - build-docker-images
6870 - install-dependencies
69-
70- jobs :
71- coverage :
72- machine : true
73- steps :
74- - ci-php/coverage-command :
75- dockerComposeFile : " ./docker/docker-compose.yml"
76- dependencyCheckSumFile : " ./composer.json"
77- - run :
78- name : Download cc-test-reporter
79- command : |
80- mkdir -p tmp/
81- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./tmp/cc-test-reporter
82- chmod +x ./tmp/cc-test-reporter
83- - run :
84- name : Upload coverage results to Code Climate
85- command : |
86- ./tmp/cc-test-reporter after-build -p /var/www/html --coverage-input-type clover --exit-code $?
Original file line number Diff line number Diff line change 1- * @ jobcloud/publication -team-be
1+ * @ jobcloud/se-ecom -team-be
Original file line number Diff line number Diff line change 1212
1313code-style : pcov-disable
1414 mkdir -p build/logs/phpcs
15- ${PHPCS} --report-full --report-gitblame -- standard=PSR12 ./src --exclude=Generic.Commenting.Todo --report-junit=build/logs/phpcs/junit.xml
15+ ${PHPCS} --report-full --standard=PSR12 ./src --exclude=Generic.Commenting.Todo --report-junit=build/logs/phpcs/junit.xml
1616
1717coverage : pcov-enable
1818 ${PHPUNIT} && ./vendor/bin/coverage-check clover.xml 100
You can’t perform that action at this time.
0 commit comments