Skip to content

Commit

Permalink
Test with scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
joernott committed Sep 10, 2024
1 parent 5e16825 commit 2a2bb45
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/oxid-esales/module-gdproptin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,17 @@

install:
method: 'script'
copy_script_targets: |
vendor/oxid-esales/gdpr-optin-module/tests/scripts
cache:
prepared_shop: false
container:
options: '-e ESHOP_BOOTSTRAP_PATH=vendor/oxid-esales/oxideshop-ce/source/bootstrap.php'
composer:
transform: |
"preferred-install": {
"oxid-esales/*": "source"
},
{
"require": {
"oxid-esales/oxideshop-ce": "{{ .Data.global.composer.dev_ref }}",
Expand All @@ -84,6 +89,9 @@ runscript: &runscript
matrix:
script: |
[
"gdpr_module:~/unit.sh",
"gdpr_module:~/integration.sh",
"gdpr_module:~/codeception.sh",
"gdpr_module:tests-unit",
"gdpr_module:tests-integration",
"gdpr_module:tests-codeception"
Expand All @@ -95,7 +103,7 @@ runscript: &runscript
-e 's#views/twig#views/apex#g;' \
source/vendor/oxid-esales/gdpr-optin-module/tests/Codeception/acceptance.suite.yml
composer:
early: true
early: skip
gdpr_module:
path: 'vendor/oxid-esales/gdpr-optin-module'

Expand All @@ -104,6 +112,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"
Expand Down

0 comments on commit 2a2bb45

Please sign in to comment.