Skip to content

Commit

Permalink
OXDEV-7728 Modify GHA codeception coverage fail pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaIvanovski committed Mar 20, 2024
1 parent 340b4df commit 034181c
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/oxid-esales/graphql-storefront-address.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
codeception:
title: '{{ print $order }}-{{ print $name }}'
configuration: '/var/www/vendor/{{ print $org }}/{{ print $name }}/tests/codeception.yml'
additional_options: '--bootstrap=/var/www/source/bootstrap.php -g {{ print $group }} --coverage-xml=/var/www/codeception_coverage_{{ print $group }}.xml'
additional_options: '--bootstrap=/var/www/source/bootstrap.php -g {{ print $group }} --coverage-xml=/var/www/coverage_codeception_{{ print $group }}.xml'
output:
prefix: 'codeception_artifacts_{{ print $group }}'
logfile:
prefix: 'codeception-{{ print $group }}'
coverage:
path: 'source/codeception_coverage_{{ print $group }}.xml'
prefix: 'codeception_coverage_{{ print $group }}'
path: 'source/coverage_codeception_{{ print $group }}.xml'
prefix: 'coverage-reports-{{ print $group }}'
6 changes: 3 additions & 3 deletions .github/oxid-esales/graphql-storefront-basket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
codeception:
title: '{{ print $order }}-{{ print $name }}'
configuration: '/var/www/vendor/{{ print $org }}/{{ print $name }}/tests/codeception.yml'
additional_options: '--bootstrap=/var/www/source/bootstrap.php -g {{ print $group }} --coverage-xml=/var/www/codeception_coverage_{{ print $group }}.xml'
additional_options: '--bootstrap=/var/www/source/bootstrap.php -g {{ print $group }} --coverage-xml=/var/www/coverage_codeception_{{ print $group }}.xml'
output:
prefix: 'codeception_artifacts_{{ print $group }}'
logfile:
prefix: 'codeception-{{ print $group }}'
coverage:
path: 'source/codeception_coverage_{{ print $group }}.xml'
prefix: 'codeception_coverage_{{ print $group }}'
path: 'source/coverage_codeception_{{ print $group }}.xml'
prefix: 'coverage-reports-{{ print $group }}'
6 changes: 3 additions & 3 deletions .github/oxid-esales/graphql-storefront-customer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
codeception:
title: '{{ print $order }}-{{ print $name }}'
configuration: '/var/www/vendor/{{ print $org }}/{{ print $name }}/tests/codeception.yml'
additional_options: '--bootstrap=/var/www/source/bootstrap.php -g {{ print $group }} --coverage-xml=/var/www/codeception_coverage_{{ print $group }}.xml'
additional_options: '--bootstrap=/var/www/source/bootstrap.php -g {{ print $group }} --coverage-xml=/var/www/coverage_codeception_{{ print $group }}.xml'
output:
prefix: 'codeception_artifacts_{{ print $group }}'
logfile:
prefix: 'codeception-{{ print $group }}'
coverage:
path: 'source/codeception_coverage_{{ print $group }}.xml'
prefix: 'codeception_coverage_{{ print $group }}'
path: 'source/coverage_codeception_{{ print $group }}.xml'
prefix: 'coverage-reports-{{ print $group }}'
6 changes: 3 additions & 3 deletions .github/oxid-esales/graphql-storefront-order.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
codeception:
title: '{{ print $order }}-{{ print $name }}'
configuration: '/var/www/vendor/{{ print $org }}/{{ print $name }}/tests/codeception.yml'
additional_options: '--bootstrap=/var/www/source/bootstrap.php -g {{ print $group }} --coverage-xml=/var/www/codeception_coverage_{{ print $group }}.xml'
additional_options: '--bootstrap=/var/www/source/bootstrap.php -g {{ print $group }} --coverage-xml=/var/www/coverage_codeception_{{ print $group }}.xml'
output:
prefix: 'codeception_artifacts_{{ print $group }}'
logfile:
prefix: 'codeception-{{ print $group }}'
coverage:
path: 'source/codeception_coverage_{{ print $group }}.xml'
prefix: 'codeception_coverage_{{ print $group }}'
path: 'source/coverage_codeception_{{ print $group }}.xml'
prefix: 'coverage-reports-{{ print $group }}'
25 changes: 22 additions & 3 deletions .github/oxid-esales/graphql-storefront-other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,30 @@
codeception:
title: '{{ print $order }}-{{ print $name }}'
configuration: '/var/www/vendor/{{ print $org }}/{{ print $name }}/tests/codeception.yml'
additional_options: '--bootstrap=/var/www/source/bootstrap.php -g {{ print $group }} --coverage-xml=/var/www/codeception_coverage_{{ print $group }}.xml'
additional_options: '--bootstrap=/var/www/source/bootstrap.php -g {{ print $group }} --coverage-xml=/var/www/coverage_codeception_{{ print $group }}.xml'
output:
prefix: 'codeception_artifacts_{{ print $group }}'
logfile:
prefix: 'codeception-{{ print $group }}'
coverage:
path: 'source/codeception_coverage_{{ print $group }}.xml'
prefix: 'codeception_coverage_{{ print $group }}'
path: 'source/coverage_codeception_{{ print $group }}.xml'
prefix: 'coverage-reports-{{ print $group }}'
failure_pattern: &failure_pattern |
fail
\\.\\=\\=
Warning
Notice
Deprecated
Fatal
[[:space:]]Error
^Error
DID NOT FINISH
Test file ".+" not found
Cannot open file
No tests executed
Could not read
Warnings: [1-9][0-9]*
Errors: [1-9][0-9]*
Failed: [1-9][0-9]*
Deprecations: [1-9][0-9]*
Risky: [1-9][0-9]*
6 changes: 3 additions & 3 deletions .github/oxid-esales/graphql-storefront-pricing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
codeception:
title: '{{ print $order }}-{{ print $name }}'
configuration: '/var/www/vendor/{{ print $org }}/{{ print $name }}/tests/codeception.yml'
additional_options: '--bootstrap=/var/www/source/bootstrap.php -g {{ print $group }} --coverage-xml=/var/www/codeception_coverage_{{ print $group }}.xml'
additional_options: '--bootstrap=/var/www/source/bootstrap.php -g {{ print $group }} --coverage-xml=/var/www/coverage_codeception_{{ print $group }}.xml'
output:
prefix: 'codeception_artifacts_{{ print $group }}'
logfile:
prefix: 'codeception-{{ print $group }}'
coverage:
path: 'source/codeception_coverage_{{ print $group }}.xml'
prefix: 'codeception_coverage_{{ print $group }}'
path: 'source/coverage_codeception_{{ print $group }}.xml'
prefix: 'coverage-reports-{{ print $group }}'

0 comments on commit 034181c

Please sign in to comment.