Skip to content

Commit

Permalink
Merge pull request PrestaShop#37188 from tleon/add-version-in-workflow
Browse files Browse the repository at this point in the history
Add new version in workflows
  • Loading branch information
jolelievre authored Oct 19, 2024
2 parents 3531fc2 + 7c936d6 commit ad640ad
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ https://devdocs.prestashop-project.org/9/contribute/contribution-guidelines/pull

| Questions | Answers
| ----------------- | -------------------------------------------------------
| Branch? | develop / 8.2.x
| Branch? | develop / 9.0.x / 8.2.x
| Description? | Please be specific when describing the PR. <br> Every detail helps: versions, browser/server configuration, specific module/theme, etc. Feel free to add more information below this table.
| Type? | bug fix / improvement / new feature / refacto
| Category? | FO / BO / CO / IN / WS / TE / LO / ME / PM / see explanations at https://devdocs.prestashop-project.org/9/contribute/contribution-guidelines/pull-requests/#type--category
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/cron_js_routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ jobs:
matrix:
BRANCH:
- develop
- 9.0.x
- 8.2.x
- 8.1.x
- 8.0.x
include:
- BRANCH: develop
node: 16
- BRANCH: 8.1.x
node: 16
- BRANCH: 8.0.x
node: 20
- BRANCH: 9.0.x
node: 20
- BRANCH: 8.2.x
node: 16

env:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/cron_nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@ jobs:
matrix:
BRANCH:
- develop
- 9.0.x
- 8.2.x
- 8.1.x
- 8.0.x
- 1.7.8.x
include:
- BRANCH: develop
node: 16
node: 20
- BRANCH: 9.0.x
node: 20
- BRANCH: 8.2.x
node: 16
- BRANCH: 8.1.x
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/cron_nightly_tests_9.0.x_mariadb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This workflow aim to run all UI tests on active branches
# and upload the report on Google cloud platform storage
name: Nightly tests and report - 9.0.x

on:
workflow_run:
workflows: [ 'Nightly Build' ]
types:
- requested

jobs:
test_9_0_x:
uses: ./.github/workflows/cron_nightly_tests_reusable.yml
with:
BRANCH: 9.0.x
PHP_VERSION: '8.1'
NODE_VERSION: '20'
DB_SERVER: 'mariadb'
secrets:
GC_PROJECT_ID: ${{ secrets.GC_PROJECT_ID }}
GC_SERVICE_KEY: ${{ secrets.GC_SERVICE_KEY }}
21 changes: 21 additions & 0 deletions .github/workflows/cron_nightly_tests_9.0.x_mysql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This workflow aim to run all UI tests on active branches
# and upload the report on Google cloud platform storage
name: Nightly tests and report - 9.0.x

on:
workflow_run:
workflows: [ 'Nightly Build' ]
types:
- requested

jobs:
test_9_0_x:
uses: ./.github/workflows/cron_nightly_tests_reusable.yml
with:
BRANCH: 9.0.x
PHP_VERSION: '8.1'
NODE_VERSION: '20'
DB_SERVER: 'mysql'
secrets:
GC_PROJECT_ID: ${{ secrets.GC_PROJECT_ID }}
GC_SERVICE_KEY: ${{ secrets.GC_SERVICE_KEY }}
4 changes: 4 additions & 0 deletions .github/workflows/cron_nightly_tests_reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
database: mysql
- branch: 8.2.x
database: mysql
- branch: 9.0.x
database: mysql
- branch: 9.0.x
database: mariadb
- branch: develop
database: mysql
- branch: develop
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/cron_nightly_tests_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,17 @@ jobs:
CAMPAIGN: 'functional:FO:hummingbird:04-07'
- BRANCH: 8.2.x
CAMPAIGN: 'functional:FO:hummingbird:08-12'
## 9.0.x
- BRANCH: 9.0.x
CAMPAIGN: 'functional:FO:01-03'
- BRANCH: 9.0.x
CAMPAIGN: 'functional:FO:04-07'
- BRANCH: 9.0.x
CAMPAIGN: 'functional:FO:08-12'
- BRANCH: 9.0.x
CAMPAIGN: 'sanity:productV2'
- BRANCH: 9.0.x
CAMPAIGN: 'functional:productV2'
## develop
- BRANCH: develop
CAMPAIGN: 'functional:FO:01-03'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cron_php_update_modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
matrix:
BRANCH:
- develop
- 9.0.x
- 8.2.x
env:
GH_BRANCH: ${{ matrix.BRANCH }}
Expand Down

0 comments on commit ad640ad

Please sign in to comment.