Skip to content

Commit

Permalink
Remove shop from require-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
joernott committed Sep 10, 2024
1 parent 7aa30ad commit 5e16825
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
15 changes: 1 addition & 14 deletions .github/oxid-esales/module-gdproptin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,6 @@ install:
"oxid-esales/twig-admin-theme": "{{ .Data.global.composer.dev_ref }}",
"oxid-esales/apex-theme": "{{ .Data.global.composer.dev_ref }}",
"oxid-esales/gdpr-optin-module": "{{ .Data.global.composer.ref_name }}"
},
"require-dev": {
"phpstan/phpstan": "^1.8.11",
"squizlabs/php_codesniffer": "3.*",
"phpmd/phpmd": "^2.11",
"phpunit/phpunit": "^10.5",
"codeception/codeception": "*",
"codeception/module-asserts": "*",
"codeception/module-db": "*",
"codeception/module-filesystem": "*",
"codeception/module-webdriver": "*",
"oxid-esales/codeception-modules": "{{ .Data.global.composer.dev_ref }}",
"oxid-esales/codeception-page-objects": "{{ .Data.global.composer.dev_ref }}"
}
}
activate_modules:
Expand All @@ -108,7 +95,7 @@ runscript: &runscript
-e 's#views/twig#views/apex#g;' \
source/vendor/oxid-esales/gdpr-optin-module/tests/Codeception/acceptance.suite.yml
composer:
early: skip
early: true
gdpr_module:
path: 'vendor/oxid-esales/gdpr-optin-module'

Expand Down
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"phpstan/phpstan": "^1.8.11",
"squizlabs/php_codesniffer": "3.*",
"phpmd/phpmd": "^2.11",
"oxid-esales/oxideshop-ce": "dev-b-7.1.x",
"phpunit/phpunit": "^10.5",
"codeception/codeception": "*",
"codeception/module-asserts": "*",
Expand Down Expand Up @@ -58,13 +57,13 @@
"@phpmd"
],

"tests-unit": "XDEBUG_MODE=coverage phpunit --config=tests/ --testsuite=Unit --coverage-clover=tests/Reports/coverage_unit_module-template.xml",
"tests-integration": "XDEBUG_MODE=coverage phpunit --bootstrap=/var/www/source/bootstrap.php --config=tests/ --testsuite=Integration --coverage-clover=tests/Reports/coverage_integration_module-template.xml",
"phpunit-coverage": "XDEBUG_MODE=coverage phpunit --coverage-text --bootstrap=/var/www/source/bootstrap.php --config=tests/ --coverage-html=tests/reports/coverage",
"tests-unit": "XDEBUG_MODE=coverage vendor/bin/phpunit --config=tests/ --testsuite=Unit --coverage-clover=tests/Reports/coverage_unit_module-template.xml",
"tests-integration": "XDEBUG_MODE=coverage vendor/bin/phpunit --bootstrap=/var/www/source/bootstrap.php --config=tests/ --testsuite=Integration --coverage-clover=tests/Reports/coverage_integration_module-template.xml",
"phpunit-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --bootstrap=/var/www/source/bootstrap.php --config=tests/ --coverage-html=tests/reports/coverage",

"tests-codeception": [
"Composer\\Config::disableProcessTimeout",
"THEME_ID=apex MODULE_IDS=oegdproptin SHOP_ROOT_PATH=/var/www codecept run Acceptance -c tests/codeception.yml --no-redirect"
"THEME_ID=apex MODULE_IDS=oegdproptin SHOP_ROOT_PATH=/var/www vendor/bin/codecept run Acceptance -c tests/codeception.yml --no-redirect"
]
},
"config": {
Expand Down

0 comments on commit 5e16825

Please sign in to comment.