Skip to content

Commit

Permalink
NEXT-12144 - Run all tests on feature change
Browse files Browse the repository at this point in the history
  • Loading branch information
pweyck committed Nov 25, 2020
1 parent d081707 commit 9d81247
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ PHP Unit:
changes:
- "Migration*.php"
- "**/Migration*.php"
- "src/Core/Framework/Resources/config/packages/shopware.yaml"
- if: '($CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_BRANCH =~ "^(master|6\..+)$") && $EACH_MR == "true"'
- if: '$CI_MERGE_REQUEST_LABELS =~ /.*unit::all.*/'
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
Expand Down Expand Up @@ -355,11 +356,13 @@ E2E:
changes:
- "Migration*.php"
- "**/Migration*.php"
- "src/Core/Framework/Resources/config/packages/shopware.yaml"
# skip @base jobs if there are changes to migrations, because the full set runs
- if: '$cypress_grep && $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_LABELS !~ /.*E2E::only_base.*/'
changes:
- "Migration*.php"
- "**/Migration*.php"
- "src/Core/Framework/Resources/config/packages/shopware.yaml"
when: never
- if: '$cypress_grep == null && $CI_MERGE_REQUEST_LABELS =~ /.*E2E::all.*/'
- if: '$cypress_grep && $CI_MERGE_REQUEST_LABELS =~ /.*E2E::all.*/'
Expand Down

0 comments on commit 9d81247

Please sign in to comment.