Skip to content

Commit

Permalink
Merge pull request PrestaShop#75 from jolelievre/add-branch-82
Browse files Browse the repository at this point in the history
Add PrestaShop 8.2.x branch
  • Loading branch information
Progi1984 authored Sep 13, 2024
2 parents 76881e8 + ad682d4 commit 2542808
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions/checkout-prestashop/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ runs:

# Workaround until https://github.com/PrestaShop/PrestaShop/issues/29813 is fixed
- name: PrestaShop Configuration (Copy of Config API)
if: (inputs.base_branch == '8.1.x')
if: (inputs.base_branch == '8.1.x' || inputs.base_branch == '8.2.x')
run: cp ./${{ inputs.ps_dir }}/app/config/security_test.yml ./${{ inputs.ps_dir }}/app/config/security_prod.yml
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/build-shop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:

# Certificate
- name: Generate a certificate
if: (inputs.base_branch == '8.1.x') || (inputs.base_branch == 'develop')
if: (inputs.base_branch == '8.1.x') || (inputs.base_branch == '8.2.x') || (inputs.base_branch == 'develop')
run: |
## Install MkCert
sudo apt-get update
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/pr_security_test_one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
required: true
options:
- 'develop'
- '8.2.x'
- '8.1.x'
- '8.0.x'
- '1.7.8.x'
Expand Down Expand Up @@ -183,6 +184,19 @@ jobs:
TEST_CAMPAIGN: 'functional:FO:hummingbird:04-07'
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'functional:FO:hummingbird:08-12'
## 8.2.x
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:BO:advanced-parameters:11-12'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:FO:01-03'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:FO:04-07'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:FO:08-12'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:FO:hummingbird:04-07'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:FO:hummingbird:08-12'
## develop
- BASE_BRANCH: develop
TEST_CAMPAIGN: 'functional:FO:01-03'
Expand All @@ -204,7 +218,7 @@ jobs:
repository: ${{ inputs.GH_REPOSITORY }}
token: ${{ inputs.GH_TOKEN }}
ref: refs/pull/${{ inputs.PR_NUMBER }}/head

- name: Setup Environment
timeout-minutes: 15
uses: ./.github/actions/setup-env
Expand All @@ -219,7 +233,7 @@ jobs:
env:
ENABLE_SSL: ${{ ((inputs.BASE_BRANCH == '1.7.8.x') || (inputs.BASE_BRANCH == '8.0.x')) && 'false' || 'true' }}
INSTALL_AUTO: ${{ (matrix.TEST_CAMPAIGN == 'sanity') && 'false' || 'true' }}
CP_API_CONFIG: ${{ (matrix.BASE_BRANCH == '8.1.x') && 'true' || 'false' }}
CP_API_CONFIG: ${{ ((matrix.BASE_BRANCH == '8.1.x') || (matrix.BASE_BRANCH == '8.2.x')) && 'true' || 'false' }}
- name: Setup Environment failure
uses: ./.github/actions/setup-env-export-logs
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
TEST_COMMAND: 'functional:FO:hummingbird:08-12'
## 8.2.x
- BASE_BRANCH: 8.2.x
TEST_COMMAND: 'functional:FO:hummingbird:08-12'
TEST_COMMAND: 'functional:FO:hummingbird:08-12'

test-short-campaigns:
name: Run short campaign ${{ matrix.TEST_COMMAND }}
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/pr_test_one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
required: true
options:
- 'develop'
- '8.2.x'
- '8.1.x'
- '8.0.x'
- '1.7.8.x'
Expand Down Expand Up @@ -186,6 +187,19 @@ jobs:
TEST_CAMPAIGN: 'functional:FO:hummingbird:04-07'
- BASE_BRANCH: 8.1.x
TEST_CAMPAIGN: 'functional:FO:hummingbird:08-12'
## 8.2.x
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:BO:advanced-parameters:11-12'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:FO:01-03'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:FO:04-07'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:FO:08-12'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:FO:hummingbird:04-07'
- BASE_BRANCH: 8.2.x
TEST_CAMPAIGN: 'functional:FO:hummingbird:08-12'
## develop
- BASE_BRANCH: develop
TEST_CAMPAIGN: 'functional:FO:01-03'
Expand Down Expand Up @@ -236,7 +250,7 @@ jobs:
env:
ENABLE_SSL: ${{ ((inputs.BASE_BRANCH == '1.7.8.x') || (inputs.BASE_BRANCH == '8.0.x')) && 'false' || 'true' }}
INSTALL_AUTO: ${{ (matrix.TEST_CAMPAIGN == 'sanity') && 'false' || 'true' }}
CP_API_CONFIG: ${{ (matrix.BASE_BRANCH == '8.1.x') && 'true' || 'false' }}
CP_API_CONFIG: ${{ ((matrix.BASE_BRANCH == '8.1.x') || (matrix.BASE_BRANCH == '8.2.x')) && 'true' || 'false' }}
- name: Setup Environment failure
uses: ./.github/actions/setup-env-export-logs
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr_test_single_campaign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
required: true
options:
- 'develop'
- '8.2.x'
- '8.1.x'
- '8.0.x'
- '1.7.8.x'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
# Certificate
- name: Generate a certificate
if: (inputs.base_branch == '8.1.x') || (inputs.base_branch == 'develop')
if: (inputs.base_branch == '8.1.x') || (inputs.base_branch == '8.2.x') || (inputs.base_branch == 'develop')
run: |
## Install MkCert
sudo apt-get update
Expand Down Expand Up @@ -199,7 +199,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' }}
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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-with-prebuilt-shop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
# Certificate
- name: Generate a certificate
if: (inputs.base_branch == '8.1.x') || (inputs.base_branch == 'develop')
if: (inputs.base_branch == '8.1.x') || (inputs.base_branch == '8.2.x') || (inputs.base_branch == 'develop')
run: |
## Install MkCert
sudo apt-get update
Expand Down Expand Up @@ -171,7 +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' }}
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
Expand Down

0 comments on commit 2542808

Please sign in to comment.