diff --git a/.github/oxid-esales/module-gdproptin.yaml b/.github/oxid-esales/module-gdproptin.yaml index de3538b..c39d4ec 100644 --- a/.github/oxid-esales/module-gdproptin.yaml +++ b/.github/oxid-esales/module-gdproptin.yaml @@ -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" @@ -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: diff --git a/composer.json b/composer.json index 9cc8844..2a7875d 100644 --- a/composer.json +++ b/composer.json @@ -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"