Skip to content

Commit

Permalink
OXDEV-8316 Run CD tests on module as root package installation
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fedurtsya <[email protected]>
  • Loading branch information
Sieg committed Oct 15, 2024
1 parent ba7c82f commit 1da087d
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/oxid-esales/module-template.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
install_shop_with_modules:
install:
cache:
prepared_shop: false
git:
repository: 'OXID-eSales/module-template'
ref: &ref '{{ .Github.RefName }}'
shop_url: 'https://github.com/OXID-eSales/module-template.git'
shop_ref: *ref
composer:
root_url: ''
transform: |
{
"require": {
"oxid-esales/oxideshop-ce": "{{ .Data.global.composer.dev_ref }}",
"oxid-esales/twig-component": "{{ .Data.global.composer.dev_ref }}",
"oxid-esales/twig-admin-theme": "{{ .Data.global.composer.dev_ref }}",
"oxid-esales/apex-theme": "{{ .Data.global.composer.dev_ref }}",
"oxid-esales/module-template": "{{ .Data.global.composer.ref_name }}"
},
"repositories": {
"oxid-esales/module-template": {
"type": "git",
"url": "https://github.com/OXID-eSales/module-template.git"
}
"oxid-esales/apex-theme": "{{ .Data.global.composer.dev_ref }}"
}
}
custom_script_container: |
vendor/bin/oe-console oe:database:reset --db-host=mysql --db-port=3306 --db-name=example --db-user=root --db-password=root --force
vendor/bin/oe-console oe:module:install ./
vendor/bin/oe-console oe:module:activate oe_moduletemplate
vendor/bin/oe-console oe:theme:activate apex
install_shop_with_modules:
composer:
root_url: ''

runscript: &runscript
matrix:
Expand Down

0 comments on commit 1da087d

Please sign in to comment.