diff --git a/.github/workflows/dispatch_module.yml b/.github/workflows/dispatch_module.yml index 62f281e..e6a983c 100644 --- a/.github/workflows/dispatch_module.yml +++ b/.github/workflows/dispatch_module.yml @@ -8,7 +8,7 @@ on: type: string required: true description: 'URL/PATH of the testplan to run' - default: 'tests/github_actions/defaults/7.0.x.yml,tests/github_actions/twig-component.yml' + default: 'tests/github_actions/defaults/defaults.yml,tests/github_actions/twig-component.yml' runs_on: type: string description: 'JSON string/array describing the runner' diff --git a/.github/workflows/pull_module_7.0x.yml b/.github/workflows/pull_module_7.0x.yml index 40f6833..3ad6334 100644 --- a/.github/workflows/pull_module_7.0x.yml +++ b/.github/workflows/pull_module_7.0x.yml @@ -9,7 +9,7 @@ jobs: pull_module: uses: oxid-eSales/github-actions/.github/workflows/call-universal_test_workflow.yml@v3 with: - testplan: 'tests/github_actions/defaults/7.0.x.yml,tests/github_actions/twig-component.yml' + testplan: 'tests/github_actions/defaults/7.0.x.yml,tests/github_actions/twig-component.yml','test/github_actions/defaults/defaults.yml' runs_on: '["self-hosted", "x64"]' defaults: 'v3' secrets: diff --git a/.github/workflows/pull_module_8.0x.yml b/.github/workflows/pull_module_8.0x.yml index 177fe3c..0db0ce4 100644 --- a/.github/workflows/pull_module_8.0x.yml +++ b/.github/workflows/pull_module_8.0x.yml @@ -9,7 +9,7 @@ jobs: pull_module: uses: oxid-eSales/github-actions/.github/workflows/call-universal_test_workflow.yml@v3 with: - testplan: 'tests/github_actions/defaults/8.0.x.yml,tests/github_actions/twig-component.yml' + testplan: 'tests/github_actions/twig-component.yml,test/github_actions/defaults/defaults.yml' runs_on: '["self-hosted", "x64"]' defaults: 'v3' secrets: diff --git a/tests/phpcs.xml b/tests/phpcs.xml new file mode 100644 index 0000000..326365c --- /dev/null +++ b/tests/phpcs.xml @@ -0,0 +1,38 @@ + + + Oxid Coding Standard + + + ../src/ + ./ + + ../migration + ./tests/Codeception/Config + + + + + + + + + + + + + + + + + + + ./ + + + + + ./ + + diff --git a/tests/phpunit.xml b/tests/phpunit.xml new file mode 100644 index 0000000..36af30f --- /dev/null +++ b/tests/phpunit.xml @@ -0,0 +1,17 @@ + + + + + + tests/Unit + + + tests/Integration + + + + + ../src/ + + +