Skip to content

Commit

Permalink
Cleanup test plans
Browse files Browse the repository at this point in the history
  • Loading branch information
joernott committed Aug 30, 2024
1 parent 5e922cb commit 975e246
Show file tree
Hide file tree
Showing 8 changed files with 85 additions and 447 deletions.
60 changes: 7 additions & 53 deletions .github/oxid-esales/metapackage-7.0-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,44 +54,6 @@ install:
"phpstan/phpstan": "^1.9.14",
"squizlabs/php_codesniffer": "^3.5.4"
},
"repositories": {
"oxid-esales/oxideshop-ce": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop_ce.git"
},
"oxid-esales/gdpr-optin-module": {
"type": "git",
"url": "https://github.com/OXID-eSales/gdpr-optin-module.git"
},
"oxid-esales/oxideshop-composer-plugin": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop_composer_plugin.git"
},
"oxid-esales/oxideshop-doctrine-migration-wrapper": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop-doctrine-migration-wrapper.git"
},
"oxid-esales/oxideshop-facts": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop-facts.git"
},
"oxid-esales/oxideshop-unified-namespace-generator": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop-unified-namespace-generator.git"
},
"oxid-esales/twig-component": {
"type": "git",
"url": "https://github.com/OXID-eSales/twig-component.git"
},
"oxid-professional-services/usercentrics": {
"type": "git",
"url": "https://github.com/OXID-eSales/usercentrics.git"
},
"makaira/oxid-connect-essential": {
"type": "git",
"url": "https://github.com/MakairaIO/oxid-connect-essential.git"
}
},
"autoload-dev":{
"psr-4":{
"OxidEsales\\EshopCommunity\\Tests\\":"./vendor/oxid-esales/oxideshop-ce/tests",
Expand Down Expand Up @@ -166,8 +128,10 @@ runscript: &runscript
"ddoe_wysiwyg_codeception_twig:~/codeception.sh acceptance"
]
container:
# {{ $selenium_options := "-e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome" }}
# {{ $module_ids := "-e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg" }}
# yamllint disable-line rule:line-length
options: '-e THEME_ID=apex -e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg -e ESHOP_BOOTSTRAP_PATH=vendor/oxid-esales/oxideshop-ce/source/bootstrap.php -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e THEME_ID=apex -e ESHOP_BOOTSTRAP_PATH=vendor/oxid-esales/oxideshop-ce/source/bootstrap.php {{ $selenium_options }} {{ $module_ids }}'
composer:
early: skip
workdir: ''
Expand All @@ -176,12 +140,12 @@ runscript: &runscript
workdir: 'vendor/oxid-esales/oxideshop-ce'
container:
# yamllint disable-line rule:line-length
options: '-e XDEBUG_MODE=coverage -e GITHUB_EVENT_NAME={{ .Github.EventName }} -e GITHUB_BASE_REF={{ .Github.BaseRef }} -e GITHUB_REF={{ .Github.Ref }} -e GITHUB_REF_NAME={{ .Github.RefName }} -e THEME_ID=apex -e TEST_SUITE=/var/www/vendor/oxid-esales/oxideshop-ce/tests -e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e XDEBUG_MODE=coverage -e THEME_ID=apex -e TEST_SUITE=/var/www/vendor/oxid-esales/oxideshop-ce/tests {{ $selenium_options }} {{ $module_ids }}'
facts:
path: 'vendor/oxid-esales/oxideshop-facts'
container:
# yamllint disable-line rule:line-length
options: '-e SUITE=vendor/oxid-esales/oxideshop-facts/tests -e XDEBUG_MODE=coverage -e GITHUB_EVENT_NAME={{ .Github.EventName }} -e GITHUB_BASE_REF={{ .Github.BaseRef }} -e GITHUB_REF={{ .Github.Ref }} -e GITHUB_REF_NAME={{ .Github.RefName }} -e THEME_ID=apex -e TEST_SUITE=/var/www/vendor/oxid-esales/oxideshop-ce/tests -e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e XDEBUG_MODE=coverage -e THEME_ID=apex -e TEST_SUITE=/var/www/vendor/oxid-esales/oxideshop-ce/tests -e SUITE=vendor/oxid-esales/oxideshop-facts/tests {{ $selenium_options }} {{ $module_ids }}'
gdpr:
path: 'vendor/oxid-esales/gdpr-optin-module'
custom_script: |
Expand All @@ -204,17 +168,15 @@ runscript: &runscript
usercentrics:
path: 'vendor/oxid-professional-services/usercentrics'
container:
# yamllint disable-line rule:line-length
options: '-e XDEBUG_MODE=coverage -e GITHUB_EVENT_NAME={{ .Github.EventName }} -e GITHUB_BASE_REF={{ .Github.BaseRef }} -e GITHUB_REF={{ .Github.Ref }} -e GITHUB_REF_NAME={{ .Github.RefName }} -e THEME_ID=apex -e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e XDEBUG_MODE=coverage -e THEME_ID=apex {{ $selenium_options }} {{ $module_ids }}'
makaira:
path: 'vendor/makaira/oxid-connect-essential'
ddoe_wysiwyg:
path: 'vendor/ddoe/wysiwyg-editor-module'
ddoe_wysiwyg_codeception_twig:
path: 'vendor/ddoe/wysiwyg-editor-module'
container:
# yamllint disable-line rule:line-length
options: '-e XDEBUG_MODE=coverage -e GITHUB_EVENT_NAME={{ .Github.EventName }} -e GITHUB_BASE_REF={{ .Github.BaseRef }} -e GITHUB_REF={{ .Github.Ref }} -e GITHUB_REF_NAME={{ .Github.RefName }} -e THEME_ID=apex -e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e XDEBUG_MODE=coverage -e THEME_ID=twig {{ $selenium_options }} {{ $module_ids }}'
composer:
early: false
transform: |
Expand Down Expand Up @@ -249,14 +211,6 @@ runscript: &runscript
}
medialibrary:
path: 'vendor/oxid-esales/media-library-module'
runslim:
<<: *runscript
matrix:
script: |
[
"gdpr:~/php-cs-report.sh"
]
sonarcloud:
matrix:
testplan: 'skip'
Expand Down
56 changes: 6 additions & 50 deletions .github/oxid-esales/metapackage-7.0-slim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,44 +49,6 @@ install:
"phpstan/phpstan": "^1.9.14",
"squizlabs/php_codesniffer": "^3.5.4"
},
"repositories": {
"oxid-esales/oxideshop-ce": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop_ce.git"
},
"oxid-esales/gdpr-optin-module": {
"type": "git",
"url": "https://github.com/OXID-eSales/gdpr-optin-module.git"
},
"oxid-esales/oxideshop-composer-plugin": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop_composer_plugin.git"
},
"oxid-esales/oxideshop-doctrine-migration-wrapper": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop-doctrine-migration-wrapper.git"
},
"oxid-esales/oxideshop-facts": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop-facts.git"
},
"oxid-esales/oxideshop-unified-namespace-generator": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop-unified-namespace-generator.git"
},
"oxid-esales/twig-component": {
"type": "git",
"url": "https://github.com/OXID-eSales/twig-component.git"
},
"oxid-professional-services/usercentrics": {
"type": "git",
"url": "https://github.com/OXID-eSales/usercentrics.git"
},
"makaira/oxid-connect-essential": {
"type": "git",
"url": "https://github.com/MakairaIO/oxid-connect-essential.git"
}
},
"autoload-dev":{
"psr-4":{
"OxidEsales\\EshopCommunity\\Tests\\":"./vendor/oxid-esales/oxideshop-ce/tests",
Expand Down Expand Up @@ -138,8 +100,10 @@ runscript: &runscript
"usercentrics:~/codeception.sh acceptance",
"ddoe_wysiwyg_codeception_twig:~/codeception.sh acceptance" ]
container:
# {{ $selenium_options := "-e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome" }}
# {{ $module_ids := "-e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg" }}
# yamllint disable-line rule:line-length
options: '-e THEME_ID=apex -e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg -e ESHOP_BOOTSTRAP_PATH=vendor/oxid-esales/oxideshop-ce/source/bootstrap.php -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e THEME_ID=apex -e ESHOP_BOOTSTRAP_PATH=vendor/oxid-esales/oxideshop-ce/source/bootstrap.php {{ $selenium_options }} {{ $module_ids }}'
composer:
early: skip
workdir: ''
Expand All @@ -148,7 +112,7 @@ runscript: &runscript
workdir: 'vendor/oxid-esales/oxideshop-ce'
container:
# yamllint disable-line rule:line-length
options: '-e XDEBUG_MODE=coverage -e GITHUB_EVENT_NAME={{ .Github.EventName }} -e GITHUB_BASE_REF={{ .Github.BaseRef }} -e GITHUB_REF={{ .Github.Ref }} -e GITHUB_REF_NAME={{ .Github.RefName }} -e THEME_ID=apex -e TEST_SUITE=/var/www/vendor/oxid-esales/oxideshop-ce/tests -e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e XDEBUG_MODE=coverage -e THEME_ID=apex -e TEST_SUITE=/var/www/vendor/oxid-esales/oxideshop-ce/tests {{ $selenium_options }} {{ $module_ids }}'
gdpr:
path: 'vendor/oxid-esales/gdpr-optin-module'
custom_script: |
Expand All @@ -159,7 +123,7 @@ runscript: &runscript
path: 'vendor/oxid-professional-services/usercentrics'
container:
# yamllint disable-line rule:line-length
options: '-e XDEBUG_MODE=coverage -e GITHUB_EVENT_NAME={{ .Github.EventName }} -e GITHUB_BASE_REF={{ .Github.BaseRef }} -e GITHUB_REF={{ .Github.Ref }} -e GITHUB_REF_NAME={{ .Github.RefName }} -e THEME_ID=apex -e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e XDEBUG_MODE=coverage -e THEME_ID=apex {{ $selenium_options }} {{ $module_ids }}'
makaira:
path: 'vendor/makaira/oxid-connect-essential'
ddoe_wysiwyg:
Expand All @@ -168,7 +132,7 @@ runscript: &runscript
path: 'vendor/ddoe/wysiwyg-editor-module'
container:
# yamllint disable-line rule:line-length
options: '-e XDEBUG_MODE=coverage -e GITHUB_EVENT_NAME={{ .Github.EventName }} -e GITHUB_BASE_REF={{ .Github.BaseRef }} -e GITHUB_REF={{ .Github.Ref }} -e GITHUB_REF_NAME={{ .Github.RefName }} -e THEME_ID=apex -e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e XDEBUG_MODE=coverage -e THEME_ID=twig {{ $selenium_options }} {{ $module_ids }}'
composer:
transform: |
{
Expand Down Expand Up @@ -203,14 +167,6 @@ runscript: &runscript
medialibrary:
path: 'vendor/oxid-esales/media-library-module'

runslim:
<<: *runscript
matrix:
script: |
[
"gdpr:~/php-cs-report.sh"
]
sonarcloud:
matrix:
testplan: 'skip'
Expand Down
61 changes: 7 additions & 54 deletions .github/oxid-esales/metapackage-7.1-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,44 +55,6 @@ install:
"phpstan/phpstan": "^1.9.14",
"squizlabs/php_codesniffer":"^3.5.4"
},
"repositories": {
"oxid-esales/oxideshop-ce": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop_ce.git"
},
"oxid-esales/gdpr-optin-module": {
"type": "git",
"url": "https://github.com/OXID-eSales/gdpr-optin-module.git"
},
"oxid-esales/oxideshop-composer-plugin": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop_composer_plugin.git"
},
"oxid-esales/oxideshop-doctrine-migration-wrapper": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop-doctrine-migration-wrapper.git"
},
"oxid-esales/oxideshop-facts": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop-facts.git"
},
"oxid-esales/oxideshop-unified-namespace-generator": {
"type": "git",
"url": "https://github.com/OXID-eSales/oxideshop-unified-namespace-generator.git"
},
"oxid-esales/twig-component": {
"type": "git",
"url": "https://github.com/OXID-eSales/twig-component.git"
},
"oxid-professional-services/usercentrics": {
"type": "git",
"url": "https://github.com/OXID-eSales/usercentrics.git"
},
"makaira/oxid-connect-essential": {
"type": "git",
"url": "https://github.com/MakairaIO/oxid-connect-essential.git"
}
},
"autoload-dev":{
"psr-4":{
"OxidEsales\\EshopCommunity\\Tests\\":"./vendor/oxid-esales/oxideshop-ce/tests",
Expand Down Expand Up @@ -174,9 +136,10 @@ runscript: &runscript
"eyable:~/codeception.sh"
]
container:
# {{ $module_ids := "oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg,ddoemedialibrary,eyeable_assist" }}
# {{ $selenium_options := "-e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome" }}
# {{ $module_ids := "-e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg,ddoemedialibrary,eyeable_assist" }}
# yamllint disable-line rule:line-length
options: '-e THEME_ID=apex -e MODULE_IDS={{ $module_ids }} -e ESHOP_BOOTSTRAP_PATH=vendor/oxid-esales/oxideshop-ce/source/bootstrap.php -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e THEME_ID=apex -e ESHOP_BOOTSTRAP_PATH=vendor/oxid-esales/oxideshop-ce/source/bootstrap.php {{ $module_ids }} {{ $selenium_options }}'
composer:
early: skip
workdir: ''
Expand All @@ -185,12 +148,12 @@ runscript: &runscript
workdir: 'vendor/oxid-esales/oxideshop-ce'
container:
# yamllint disable-line rule:line-length
options: '-e XDEBUG_MODE=coverage -e GITHUB_EVENT_NAME={{ .Github.EventName }} -e GITHUB_BASE_REF={{ .Github.BaseRef }} -e GITHUB_REF={{ .Github.Ref }} -e GITHUB_REF_NAME={{ .Github.RefName }} -e THEME_ID=apex -e TEST_SUITE=/var/www/vendor/oxid-esales/oxideshop-ce/tests -e MODULE_IDS={{ $module_ids }} -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e XDEBUG_MODE=coverage -e THEME_ID=apex -e TEST_SUITE=/var/www/vendor/oxid-esales/oxideshop-ce/tests {{ $module_ids }} {{ $selenium_options }}'
facts:
path: 'vendor/oxid-esales/oxideshop-facts'
container:
# yamllint disable-line rule:line-length
options: '-e SUITE=vendor/oxid-esales/oxideshop-facts/tests -e XDEBUG_MODE=coverage -e GITHUB_EVENT_NAME={{ .Github.EventName }} -e GITHUB_BASE_REF={{ .Github.BaseRef }} -e GITHUB_REF={{ .Github.Ref }} -e GITHUB_REF_NAME={{ .Github.RefName }} -e THEME_ID=apex -e TEST_SUITE=/var/www/vendor/oxid-esales/oxideshop-ce/tests -e MODULE_IDS={{ $module_ids }} -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e XDEBUG_MODE=coverage -e THEME_ID=apex -e TEST_SUITE=/var/www/vendor/oxid-esales/oxideshop-ce/tests -e SUITE=vendor/oxid-esales/oxideshop-facts/tests {{ $selenium_options }} {{ $module_ids }}'
gdpr:
path: 'vendor/oxid-esales/gdpr-optin-module'
workdir: 'vendor/oxid-esales/gdpr-optin-module'
Expand All @@ -212,17 +175,15 @@ runscript: &runscript
usercentrics:
path: 'vendor/oxid-professional-services/usercentrics'
container:
# yamllint disable-line rule:line-length
options: '-e XDEBUG_MODE=coverage -e GITHUB_EVENT_NAME={{ .Github.EventName }} -e GITHUB_BASE_REF={{ .Github.BaseRef }} -e GITHUB_REF={{ .Github.Ref }} -e GITHUB_REF_NAME={{ .Github.RefName }} -e THEME_ID=apex -e MODULE_IDS={{ $module_ids }} -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e XDEBUG_MODE=coverage -e THEME_ID=apex {{ $selenium_options }} {{ $module_ids }}'
makaira:
path: 'vendor/makaira/oxid-connect-essential'
ddoe_wysiwyg:
path: 'vendor/ddoe/wysiwyg-editor-module'
ddoe_wysiwyg_codeception_twig:
path: 'vendor/ddoe/wysiwyg-editor-module'
container:
# yamllint disable-line rule:line-length
options: '-e XDEBUG_MODE=coverage -e GITHUB_EVENT_NAME={{ .Github.EventName }} -e GITHUB_BASE_REF={{ .Github.BaseRef }} -e GITHUB_REF={{ .Github.Ref }} -e GITHUB_REF_NAME={{ .Github.RefName }} -e THEME_ID=apex -e MODULE_IDS=oegdproptin,oxps_usercentrics,makaira_oxid-connect-essential,ddoewysiwyg -e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome'
options: '-e XDEBUG_MODE=coverage -e THEME_ID=twig {{ $selenium_options }} {{ $module_ids }}'
composer:
early: false
transform: |
Expand Down Expand Up @@ -260,14 +221,6 @@ runscript: &runscript
eyable:
path: 'vendor/eyeable/eye-able-oxid'

runslim:
<<: *runscript
matrix:
script: |
[
"gdpr:~/php-cs-report.sh"
]
sonarcloud:
matrix:
testplan: 'skip'
Expand Down
Loading

0 comments on commit 975e246

Please sign in to comment.