Skip to content

Commit

Permalink
OXDEV-7730 Add module test plan
Browse files Browse the repository at this point in the history
  • Loading branch information
RahatHameed committed Jan 24, 2024
1 parent 24fa1e5 commit 4527d9e
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
41 changes: 41 additions & 0 deletions tests/github_actions/module-wysiwyg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
install_module:
matrix_testplan: '["-"]'
cache:
prefix: &install_module_prefix 'moduleInstallation-ce-{{ .Github.SHA }}-{{ .Github.RunNumber }}-{{ .Github.RunAttempt }}'
ids: &ids 'ddoewysiwyg'
activate: *ids
git:
module:
url: &git_module_url '{{ .Github.Repository }}'
ref: '{{ .Github.Ref }}'
package_name: &package_name 'ddoe/wysiwyg-editor-module'
path: *ids

codeception:
matrix_testplan: '["tests/github_actions/module_codeception_acceptance.yml"]'
load_shop: *install_module_prefix

phpunit:
skip: true

phpcs_tests:
skip: true

runtest:
matrix:
testplan: 'skip'
load_shop: *install_module_prefix

sonarcloud:
project_key: 'OXID-eSales_ddoe-wysiwyg-editor-module'
project_name: *package_name
parameters: |
-Dsonar.language=php
-Dsonar.scm.provider=git
-Dsonar.sources=src
-Dsonar.tests=tests
styles:
load_shop: *install_module_prefix
path: *ids
module_ids: *ids
13 changes: 13 additions & 0 deletions tests/github_actions/module_codeception_acceptance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
codeception:
title: codeception
container:
options: '-e THEME_ID=apex'
configuration: 'dev-packages/{{ .Data.install_module.ids }}/tests/codeception.yml'
suite: 'acceptance'
additional_options: '-g ddoe_wysiwyg
logfile:
prefix: 'codeception'
output:
prefix: 'codeception-artifacts'
coverage:
path: ''

0 comments on commit 4527d9e

Please sign in to comment.