Skip to content

Commit

Permalink
9.0.x & develop : Split modules campaign
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Oct 24, 2024
1 parent 90e24a5 commit 77ed95e
Show file tree
Hide file tree
Showing 6 changed files with 128 additions and 12 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/pr_security_test_one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ jobs:
- 'functional:productV2'
- 'functional:WS'
- 'modules'
- 'modules:01-09'
- 'modules:10-19'
- 'modules:20-29'
- 'modules:30-39'
- 'regression'
- 'sanity'
- 'sanity:productV2'
Expand Down Expand Up @@ -144,6 +148,14 @@ jobs:
TEST_CAMPAIGN: 'functional:WS'
- BASE_BRANCH: 1.7.8.x
TEST_CAMPAIGN: 'modules'
- BASE_BRANCH: 1.7.8.x
TEST_CAMPAIGN: 'modules:01-09'
- BASE_BRANCH: 1.7.8.x
TEST_CAMPAIGN: 'modules:10-19'
- BASE_BRANCH: 1.7.8.x
TEST_CAMPAIGN: 'modules:20-29'
- BASE_BRANCH: 1.7.8.x
TEST_CAMPAIGN: 'modules:30-39'
- BASE_BRANCH: 1.7.8.x
TEST_CAMPAIGN: 'sanity:productV2'
## 8.0.x
Expand Down Expand Up @@ -173,6 +185,14 @@ jobs:
TEST_CAMPAIGN: 'functional:WS'
- BASE_BRANCH: 8.0.x
TEST_CAMPAIGN: 'modules'
- BASE_BRANCH: 8.0.x
TEST_CAMPAIGN: 'modules:01-09'
- BASE_BRANCH: 8.0.x
TEST_CAMPAIGN: 'modules:10-19'
- BASE_BRANCH: 8.0.x
TEST_CAMPAIGN: 'modules:20-29'
- BASE_BRANCH: 8.0.x
TEST_CAMPAIGN: 'modules:30-39'
## 8.1.x
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'functional:BO:advanced-parameters:11-12'
Expand All @@ -186,6 +206,14 @@ jobs:
TEST_CAMPAIGN: 'functional:FO:hummingbird:04-07'
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'functional:FO:hummingbird:08-12'
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'modules:01-09'
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'modules:10-19'
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'modules:20-29'
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'modules:30-39'
## 8.2.x
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:BO:advanced-parameters:11-12'
Expand All @@ -199,6 +227,14 @@ jobs:
TEST_CAMPAIGN: 'functional:FO:hummingbird:04-07'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:FO:hummingbird:08-12'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'modules:01-09'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'modules:10-19'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'modules:20-29'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'modules:30-39'
## 9.0.x
- BASE_BRANCH: 9.0.x
TEST_CAMPAIGN: 'functional:FO:01-03'
Expand All @@ -210,6 +246,8 @@ jobs:
TEST_CAMPAIGN: 'functional:productV2'
- BASE_BRANCH: 9.0.x
TEST_CAMPAIGN: 'sanity:productV2'
- BASE_BRANCH: 9.0.x
TEST_CAMPAIGN: 'modules'
## develop
- BASE_BRANCH: develop
TEST_CAMPAIGN: 'functional:FO:01-03'
Expand All @@ -221,6 +259,8 @@ jobs:
TEST_CAMPAIGN: 'functional:productV2'
- BASE_BRANCH: develop
TEST_CAMPAIGN: 'sanity:productV2'
- BASE_BRANCH: develop
TEST_CAMPAIGN: 'modules'

steps:
# Checkout Private repository
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@ jobs:
## 8.2.x
- BASE_BRANCH: 8.2.x
TEST_COMMAND: 'functional:FO:hummingbird:08-12'
## 9.0.x
- BASE_BRANCH: 9.0.x
TEST_COMMAND: 'modules'
## develop
- BASE_BRANCH: develop
TEST_COMMAND: 'modules'

test-short-campaigns:
name: Run short campaign ${{ matrix.TEST_COMMAND }}
Expand Down Expand Up @@ -209,6 +215,10 @@ jobs:
- 'functional:FO:hummingbird:04-07'
- 'functional:productV2'
- 'functional:WS'
- 'modules:01-09'
- 'modules:10-19'
- 'modules:20-29'
- 'modules:30-39'
- 'regression'
- 'sanity:productV2'
BASE_BRANCH:
Expand All @@ -231,6 +241,14 @@ jobs:
TEST_COMMAND: 'functional:FO:hummingbird:04-07'
- BASE_BRANCH: 1.7.8.x
TEST_COMMAND: 'functional:WS'
- BASE_BRANCH: 1.7.8.x
TEST_COMMAND: 'modules:01-09'
- BASE_BRANCH: 1.7.8.x
TEST_COMMAND: 'modules:10-19'
- BASE_BRANCH: 1.7.8.x
TEST_COMMAND: 'modules:20-29'
- BASE_BRANCH: 1.7.8.x
TEST_COMMAND: 'modules:30-39'
- BASE_BRANCH: 1.7.8.x
TEST_COMMAND: 'sanity:productV2'
## 8.0.x
Expand All @@ -250,6 +268,14 @@ jobs:
TEST_COMMAND: 'functional:FO:hummingbird:04-07'
- BASE_BRANCH: 8.0.x
TEST_COMMAND: 'functional:WS'
- BASE_BRANCH: 8.0.x
TEST_COMMAND: 'modules:01-09'
- BASE_BRANCH: 8.0.x
TEST_COMMAND: 'modules:10-19'
- BASE_BRANCH: 8.0.x
TEST_COMMAND: 'modules:20-29'
- BASE_BRANCH: 8.0.x
TEST_COMMAND: 'modules:30-39'
## 8.1.x
- BASE_BRANCH: 8.1.x
TEST_COMMAND: 'functional:BO:advanced-parameters:11-12'
Expand All @@ -261,6 +287,14 @@ jobs:
TEST_COMMAND: 'functional:FO:08-12'
- BASE_BRANCH: 8.1.x
TEST_COMMAND: 'functional:FO:hummingbird:04-07'
- BASE_BRANCH: 8.1.x
TEST_COMMAND: 'modules:01-09'
- BASE_BRANCH: 8.1.x
TEST_COMMAND: 'modules:10-19'
- BASE_BRANCH: 8.1.x
TEST_COMMAND: 'modules:20-29'
- BASE_BRANCH: 8.1.x
TEST_COMMAND: 'modules:30-39'
## 8.2.x
- BASE_BRANCH: 8.2.x
TEST_COMMAND: 'functional:BO:advanced-parameters:11-12'
Expand All @@ -272,6 +306,14 @@ jobs:
TEST_COMMAND: 'functional:FO:08-12'
- BASE_BRANCH: 8.2.x
TEST_COMMAND: 'functional:FO:hummingbird:04-07'
- BASE_BRANCH: 8.2.x
TEST_COMMAND: 'modules:01-09'
- BASE_BRANCH: 8.2.x
TEST_COMMAND: 'modules:10-19'
- BASE_BRANCH: 8.2.x
TEST_COMMAND: 'modules:20-29'
- BASE_BRANCH: 8.2.x
TEST_COMMAND: 'modules:30-39'
## 9.0.x
- BASE_BRANCH: 9.0.x
TEST_COMMAND: 'functional:FO:01-03'
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/pr_test_one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ jobs:
- 'functional:productV2'
- 'functional:WS'
- 'modules'
- 'modules:01-09'
- 'modules:10-19'
- 'modules:20-29'
- 'modules:30-39'
- 'regression'
- 'sanity'
- 'sanity:productV2'
Expand Down Expand Up @@ -147,6 +151,14 @@ jobs:
TEST_CAMPAIGN: 'functional:WS'
- BASE_BRANCH: 1.7.8.x
TEST_CAMPAIGN: 'modules'
- BASE_BRANCH: 1.7.8.x
TEST_CAMPAIGN: 'modules:01-09'
- BASE_BRANCH: 1.7.8.x
TEST_CAMPAIGN: 'modules:10-19'
- BASE_BRANCH: 1.7.8.x
TEST_CAMPAIGN: 'modules:20-29'
- BASE_BRANCH: 1.7.8.x
TEST_CAMPAIGN: 'modules:30-39'
- BASE_BRANCH: 1.7.8.x
TEST_CAMPAIGN: 'sanity:productV2'
## 8.0.x
Expand Down Expand Up @@ -176,6 +188,14 @@ jobs:
TEST_CAMPAIGN: 'functional:WS'
- BASE_BRANCH: 8.0.x
TEST_CAMPAIGN: 'modules'
- BASE_BRANCH: 8.0.x
TEST_CAMPAIGN: 'modules:01-09'
- BASE_BRANCH: 8.0.x
TEST_CAMPAIGN: 'modules:10-19'
- BASE_BRANCH: 8.0.x
TEST_CAMPAIGN: 'modules:20-29'
- BASE_BRANCH: 8.0.x
TEST_CAMPAIGN: 'modules:30-39'
## 8.1.x
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'functional:BO:advanced-parameters:11-12'
Expand All @@ -189,6 +209,14 @@ jobs:
TEST_CAMPAIGN: 'functional:FO:hummingbird:04-07'
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'functional:FO:hummingbird:08-12'
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'modules:01-09'
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'modules:10-19'
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'modules:20-29'
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'modules:30-39'
## 8.2.x
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:BO:advanced-parameters:11-12'
Expand All @@ -202,6 +230,14 @@ jobs:
TEST_CAMPAIGN: 'functional:FO:hummingbird:04-07'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:FO:hummingbird:08-12'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'modules:01-09'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'modules:10-19'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'modules:20-29'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'modules:30-39'
## 9.0.x
- BASE_BRANCH: 9.0.x
TEST_CAMPAIGN: 'functional:FO:01-03'
Expand All @@ -213,6 +249,8 @@ jobs:
TEST_CAMPAIGN: 'functional:productV2'
- BASE_BRANCH: 9.0.x
TEST_CAMPAIGN: 'sanity:productV2'
- BASE_BRANCH: 9.0.x
TEST_CAMPAIGN: 'modules'
## develop
- BASE_BRANCH: develop
TEST_CAMPAIGN: 'functional:FO:01-03'
Expand All @@ -224,6 +262,8 @@ jobs:
TEST_CAMPAIGN: 'functional:productV2'
- BASE_BRANCH: develop
TEST_CAMPAIGN: 'sanity:productV2'
- BASE_BRANCH: develop
TEST_CAMPAIGN: 'modules'

steps:
- name: Print Inputs values
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr_test_single_campaign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ on:
- 'functional:productV2'
- 'functional:WS'
- 'modules'
- 'modules:01-09'
- 'modules:10-19'
- 'modules:20-29'
- 'modules:30-39'
- 'regression'
- 'sanity'
- 'sanity:productV2'
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test-sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,7 @@ jobs:
# Playwright must be installed all the time, we only install chromium since it's the only browser used
- name: Install browsers
working-directory: ${{ env.PS_DIR }}/tests/UI
if: ${{ inputs.base_branch == '8.0.x' || inputs.base_branch == '8.1.x' || inputs.base_branch == '8.2.x' }}
run: npx playwright install chromium

- name: Install browsers
working-directory: ${{ env.PS_DIR }}/tests/UI
if: inputs.base_branch == 'develop'
if: ${{ inputs.base_branch == '8.0.x' || inputs.base_branch == '8.1.x' || inputs.base_branch == '8.2.x' || inputs.base_branch == '9.0.x' || inputs.base_branch == 'develop' }}
run: npx playwright install chromium

- name: Run sanity campaign
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/test-with-prebuilt-shop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,7 @@ jobs:
# Playwright must be installed all the time, we only install chromium since it's the only browser used
- name: Install browsers
working-directory: ${{ env.PS_DIR }}/tests/UI
if: ${{ inputs.base_branch == '8.0.x' || inputs.base_branch == '8.1.x' || inputs.base_branch == '8.2.x' }}
run: npx playwright install chromium

- name: Install browsers
working-directory: ${{ env.PS_DIR }}/tests/UI
if: inputs.base_branch == 'develop'
if: ${{ inputs.base_branch == '8.0.x' || inputs.base_branch == '8.1.x' || inputs.base_branch == '8.2.x' || inputs.base_branch == '9.0.x' || inputs.base_branch == 'develop' }}
run: npx playwright install chromium

- name: Run campaign ${{ inputs.test_command }} on prebuilt shop
Expand Down

0 comments on commit 77ed95e

Please sign in to comment.