|
| 1 | +install: |
| 2 | + method: 'script' |
| 3 | + copy_script_targets: | |
| 4 | + vendor/oxid-esales/oxideshop-ce/tests/scripts |
| 5 | + vendor/oxid-esales/gdpr-optin-module/tests/scripts |
| 6 | + vendor/oxid-professional-services/usercentrics/tests/scripts |
| 7 | + vendor/makaira/oxid-connect-essential/tests/scripts |
| 8 | + vendor/eyeable/eye-able-oxid/tests/scripts |
| 9 | + vendor/ddoe/wysiwyg-editor-module/tests/scripts |
| 10 | + vendor/oxid-esales/media-library-module/tests/scripts |
| 11 | + container: |
| 12 | + options: '-e ESHOP_BOOTSTRAP_PATH=vendor/oxid-esales/oxideshop-ce/source/bootstrap.php' |
| 13 | + composer: |
| 14 | + root_url: 'https://raw.githubusercontent.com/{{ .Github.Repository }}/b-7.2/composer.json' |
| 15 | + transform: | |
| 16 | + { |
| 17 | + "config": { |
| 18 | + "github-protocols": ["https"], |
| 19 | + "allow-plugins":{ |
| 20 | + "oxid-esales/oxideshop-composer-plugin":true, |
| 21 | + "oxid-esales/oxideshop-unified-namespace-generator":true |
| 22 | + } |
| 23 | + }, |
| 24 | + "minimum-stability": "dev", |
| 25 | + "preferred-install": { |
| 26 | + "oxid-esales/*": "source", |
| 27 | + "oxid-professional-services/*": "source", |
| 28 | + "ddoe/*": "source", |
| 29 | + "makaira/*": "source" |
| 30 | + }, |
| 31 | + "require": { |
| 32 | + "twig/twig": "v3.8.0" |
| 33 | + }, |
| 34 | + "require-dev":{ |
| 35 | + "oxid-esales/codeception-modules":"{{ .Data.global.composer.dev_ref }}", |
| 36 | + "oxid-esales/codeception-page-objects":"{{ .Data.global.composer.dev_ref }}", |
| 37 | + "oxid-esales/developer-tools":"{{ .Data.global.composer.dev_ref }}", |
| 38 | + "oxid-esales/oxideshop-ide-helper":"{{ .Data.global.composer.dev_ref }}", |
| 39 | + "codeception/codeception":"^5.0", |
| 40 | + "codeception/module-asserts":"^3.0", |
| 41 | + "codeception/module-db":"^3.0", |
| 42 | + "codeception/module-filesystem":"^3.0", |
| 43 | + "codeception/module-webdriver":"^4.0", |
| 44 | + "composer/composer":"^2.0", |
| 45 | + "incenteev/composer-parameter-handler":"^v2.1.4", |
| 46 | + "mikey179/vfsstream":"~1.6.8", |
| 47 | + "phpspec/prophecy-phpunit":"^v2.0.1", |
| 48 | + "phpunit/phpunit":"^10.4", |
| 49 | + "squizlabs/php_codesniffer":"^3.5.4" |
| 50 | + }, |
| 51 | + "autoload-dev":{ |
| 52 | + "psr-4":{ |
| 53 | + "OxidEsales\\EshopCommunity\\Tests\\":"./vendor/oxid-esales/oxideshop-ce/tests", |
| 54 | + "OxidEsales\\ComposerPlugin\\Tests\\": "vendor/oxid-esales/oxideshop-composer-plugin/tests/", |
| 55 | + "OxidEsales\\UnifiedNameSpaceGenerator\\Tests\\": "./vendor/oxid-esales/oxideshop-unified-namespace-generator/tests", |
| 56 | + "OxidEsales\\DemoDataInstaller\\Tests\\": "./vendor/oxid-esales/oxideshop-demodata-installer/tests/", |
| 57 | + "OxidEsales\\DoctrineMigrationWrapper\\Tests\\": "./vendor/oxid-esales/oxideshop-doctrine-migration-wrapper/tests", |
| 58 | + "OxidEsales\\Facts\\Tests\\": "./vendor/oxid-esales/oxideshop-facts/tests/", |
| 59 | + "OxidEsales\\Twig\\Tests\\": "./vendor/oxid-esales/twig-component/tests", |
| 60 | + "OxidEsales\\GdprOptinModule\\Tests\\": "./vendor/oxid-esales/gdpr-optin-module/tests/", |
| 61 | + "OxidProfessionalServices\\Usercentrics\\Tests\\": "./vendor/oxid-professional-services/usercentrics/tests" |
| 62 | + } |
| 63 | + }, |
| 64 | + "bin":[ |
| 65 | + "bin/oe-console" |
| 66 | + ], |
| 67 | + "config":{ |
| 68 | + "allow-plugins":{ |
| 69 | + "oxid-esales/oxideshop-composer-plugin":true, |
| 70 | + "oxid-esales/oxideshop-unified-namespace-generator":true |
| 71 | + } |
| 72 | + } |
| 73 | + } |
| 74 | + activate_modules: | |
| 75 | + oegdproptin |
| 76 | + oxps_usercentrics |
| 77 | + eyeable_assist |
| 78 | + makaira_oxid-connect-essential |
| 79 | + ddoemedialibrary |
| 80 | + ddoewysiwyg |
| 81 | +
|
| 82 | +runscript: &runscript |
| 83 | + matrix: |
| 84 | + script: | |
| 85 | + [ |
| 86 | + "shop:~/unit.sh", |
| 87 | + "shop:~/integration.sh", |
| 88 | + "shop:~/compilation_codeception.sh", |
| 89 | + "gdpr:~/unit.sh", |
| 90 | + "gdpr:~/integration.sh", |
| 91 | + "gdpr:~/codeception.sh", |
| 92 | + "usercentrics:~/unit.sh", |
| 93 | + "usercentrics:~/integration.sh", |
| 94 | + "usercentrics:~/codeception.sh Acceptance", |
| 95 | + "ddoe_wysiwyg:~/integration.sh", |
| 96 | + "ddoe_wysiwyg:~/codeception.sh Acceptance", |
| 97 | + "medialibrary:~/unit.sh", |
| 98 | + "medialibrary:~/integration.sh", |
| 99 | + "medialibrary:~/codeception.sh", |
| 100 | + "eyeable:~/integration.sh", |
| 101 | + "eyeable:~/codeception.sh" |
| 102 | + ] |
| 103 | + container: |
| 104 | + # {{ $selenium_options := "-e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome -e TEST_SUITE=/var/www/vendor/oxid-esales/oxideshop-ce/tests" }} |
| 105 | + # {{ $module_ids := "-e MODULE_IDS=eyeable_assist,makaira_oxid-connect-essential,oxps_usercentrics,oegdproptin,ddoemedialibrary,ddoewysiwyg" }} |
| 106 | + # {{ $integration_options := "-e INTEGRATION_OPTIONS=--exclude-group=exclude_from_compilation,exclude-from-compilation" }} |
| 107 | + options: '-e XDEBUG_MODE=coverage -e THEME_ID=apex {{ $module_ids }} {{ $selenium_options }} {{ $integration_options }} ' |
| 108 | + composer: |
| 109 | + early: skip |
| 110 | + workdir: '' |
| 111 | + shop: |
| 112 | + path: 'vendor/oxid-esales/oxideshop-ce' |
| 113 | + workdir: 'vendor/oxid-esales/oxideshop-ce' |
| 114 | + custom_script: | |
| 115 | + cat >source/vendor/oxid-esales/oxideshop-ce/tests/scripts/compilation_codeception.sh <<EOF |
| 116 | + #!/bin/bash |
| 117 | + /var/www/vendor/bin/codecept build -c /var/www/vendor/oxid-esales/oxideshop-ce/tests/codeception.yml |
| 118 | + /var/www/vendor/bin/codecept run Acceptance --bootstrap=/var/www/source/bootstrap.php -c /var/www/vendor/oxid-esales/oxideshop-ce/tests/codeception.yml -x exclude_from_compilation -x flow_theme |
| 119 | + EOF |
| 120 | + chmod a+x source/vendor/oxid-esales/oxideshop-ce/tests/scripts/compilation_codeception.sh |
| 121 | +
|
| 122 | + gdpr: |
| 123 | + path: 'vendor/oxid-esales/gdpr-optin-module' |
| 124 | + usercentrics: |
| 125 | + path: 'vendor/oxid-professional-services/usercentrics' |
| 126 | + makaira: |
| 127 | + path: 'vendor/makaira/oxid-connect-essential' |
| 128 | + ddoe_wysiwyg: |
| 129 | + path: 'vendor/ddoe/wysiwyg-editor-module' |
| 130 | + medialibrary: |
| 131 | + path: 'vendor/oxid-esales/media-library-module' |
| 132 | + eyeable: |
| 133 | + path: 'vendor/eyeable/eye-able-oxid' |
| 134 | + |
| 135 | +sonarcloud: |
| 136 | + matrix: |
| 137 | + testplan: 'skip' |
| 138 | + |
| 139 | +finish: |
| 140 | + slack_title: 'Metapackage CE (7.2 slim) on {{ .Github.Repository }} by {{ .Github.Actor }}' |
0 commit comments