Skip to content

Commit

Permalink
OXDEV-7990 Update GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaIvanovski committed Apr 16, 2024
1 parent 03f5c1e commit 79f436f
Show file tree
Hide file tree
Showing 8 changed files with 261 additions and 403 deletions.
62 changes: 62 additions & 0 deletions .github/oxid-esales/module-evat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# {{ $ids := "oevattbe" }}ids: {{ print $ids }}
# {{ $org := "oxid-esales" }}organisation: {{ print $org }}
# {{ $name := "evat-module" }}name: {{ print $name }}
# {{ $order := "01" }}order: {{ print $order }}
prepare_shop:
git:
shop_ref: '{{ .Data.global.git.default_ref }}'
custom_ini:
xdebug: 'xdebug.mode=debug,profile,coverage'

install_module:
matrix:
testplan: '["-"]'
title: '{{ print $name }}-{{ print $order }}'
cache:
prefix: &install_module_prefix 'moduleInstallation-ce-{{ .Github.SHA }}-{{ .Github.RunID }}'
ids: &ids '{{ print $ids }}'
activate: *ids
git:
module:
url: &git_module_url '{{ .Github.Repository }}'
ref: 'b-7.1.x-fix_tests-OXDEV-7989'
package_name: &package_name '{{ print $org }}/{{ print $name }}'
path: *ids

phpunit:
matrix:
testplan: '["~/defaults/module_phpunit_unit.yml","~/defaults/module_phpunit_integration.yml"]'
load_shop: *install_module_prefix

codeception:
matrix:
testplan: 'skip'
title: '{{ print $name }}-{{ print $order }}'
load_shop: *install_module_prefix

runtest:
matrix:
testplan: 'skip'
title: '{{ print $name }}-{{ print $order }}'
load_shop: *install_module_prefix

sonarcloud:
matrix:
testplan: '["-"]'
title: '{{ print $name }}-{{ print $order }}'
project_key: 'OXID-eSales_vat_tbe_services'
project_name: *package_name
parameters: |
-Dsonar.language=php
-Dsonar.scm.provider=git
-Dsonar.sources=src
-Dsonar.tests=tests
phpcs_tests:
skip: true

styles:
skip: true

finish:
slack_title: 'Module {{ print $name }} ({{ .Github.RefName }}) on {{ .Github.Repository }} by {{ .Github.Actor }}'
Loading

0 comments on commit 79f436f

Please sign in to comment.