Skip to content

Commit

Permalink
Fix composer calls
Browse files Browse the repository at this point in the history
  • Loading branch information
joernott committed Sep 25, 2024
1 parent 21ed14d commit 968a646
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions .github/oxid-esales/module-gdproptin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ runscript:
matrix:
script: |
[
"gdpr_module:~/unit.sh",
"gdpr_module:~/integration.sh",
"gdpr_module:~/codeception.sh",
"gdpr_module:tests-unit -d /var/www/vendor/oxid-esales/gdpr-optin-module",
"gdpr_module:tests-integration -d /var/www/vendor/oxid-esales/gdpr-optin-module",
"gdpr_module:tests-codeception -d /var/www/vendor/oxid-esales/gdpr-optin-module"
Expand All @@ -64,12 +61,9 @@ runslim:
matrix:
script: |
[
"gdpr_module:~/php-cs-report.sh",
"gdpr_module:~/phpstan-report.sh",
"gdpr_module:~/phpmd-report.sh",
"gdpr_module:phpcs",
"gdpr_module:phpstan",
"gdpr_module:phpmd"
"gdpr_module:phpcs -d /var/www/vendor/oxid-esales/gdpr-optin-module",
"gdpr_module:phpstan -d /var/www/vendor/oxid-esales/gdpr-optin-module",
"gdpr_module:phpmd -d /var/www/vendor/oxid-esales/gdpr-optin-module"
]
sonarcloud:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
],
"phpunit-coverage": "export PHPUNIT=/var/www/vendor/bin/phpunit ; if [ ! -x \"${PHPUNIT}\" ]; then export PHPUNIT=vendor/bin/phpunit ; fi ; echo \"PHPUNIT: ${PHPUNIT}\" ; XDEBUG_MODE=coverage $PHPUNIT --coverage-text --bootstrap=/var/www/source/bootstrap.php --config=tests/ --coverage-html=tests/reports/coverage",

"codeception": [
"tests-codeception": [
"Composer\\Config::disableProcessTimeout",
"export CODECEPT=/var/www/vendor/bin/codecept ; if [ ! -x \"${CODECEPT}\" ]; then export CODECEPT=vendor/bin/codecept ; fi ; THEME_ID=apex MODULE_IDS=oegdproptin SHOP_ROOT_PATH=/var/www $CODECEPT run Acceptance -c tests/codeception.yml --no-redirect -o \"paths: output: tests/Output\" 2>&1 | tee tests/Output/codeception_Acceptance.txt",
"if [ -x tests/script/check_log.sh ]; then tests/script/check_log.sh tests/Output/codeception_Acceptance.txt tests/script/codeception_failure_pattern.txt ; fi"
Expand Down

0 comments on commit 968a646

Please sign in to comment.