Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B 7.1.x fix sonarcloud #1

Closed
wants to merge 10 commits into from
8 changes: 4 additions & 4 deletions .github/oxid-esales/graphql-configuration-access_light.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ runslim:
matrix:
script: |
[
"configuration_module:phpcs",
"configuration_module:phpstan",
"configuration_module:phpmd",
"configuration_module:phpcs-report",
"configuration_module:phpstan-report",
"configuration_module:phpmd-report",
"configuration_module:deptrac",
]

Expand All @@ -59,7 +59,7 @@ sonarcloud:
-Dsonar.scm.provider=git
-Dsonar.sources=src
-Dsonar.tests=tests
-Dsonar.php.phpstan.reportPaths=tests/Reports/phpstan.report.json
-Dsonar.php.phpstan.reportPaths=coverage-reports/phpstan.report.json

finish:
slack_title: 'Configuration Access module ({{ .Data.global.git.shop_ref }}) by {{ .Github.Actor }}'
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@deptrac"
],

"phpunit": "XDEBUG_MODE=coverage vendor/bin/phpunit --config=tests/ --testsuite=Unit --coverage-clover=tests/Reports/coverage_unit_graphql_configuration_access.xml",
"phpunit": "XDEBUG_MODE=coverage vendor/bin/phpunit --config=tests/ --testsuite=Unit --coverage-clover=tests/Reports/coverage_unit_graphql_configuration_access.xml --log-junit=tests/Reports/phpunit-unit.xml",
"phpintegration": "XDEBUG_MODE=coverage vendor/bin/phpunit --bootstrap=/var/www/source/bootstrap.php --config=tests/ --testsuite=Integration --coverage-clover=tests/Reports/coverage_integration_graphql_configuration_access.xml",
"phpunit-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --bootstrap=/var/www/source/bootstrap.php --config=tests/ --coverage-html=tests/Reports/coverage",

Expand Down