Skip to content

Commit

Permalink
Merge pull request PrestaShop#1044 from AureRita/AddUpgradeToV9
Browse files Browse the repository at this point in the history
UI Tests - Add V9 to upgrade in local archive
  • Loading branch information
nesrineabdmouleh authored Nov 29, 2024
2 parents 9fa2a59 + a1f73f3 commit 3a7b424
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ui-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,17 @@ jobs:
docker exec -t prestashop php modules/autoupgrade/bin/console backup:create admin-dev
- name: Download local ZIP and XML for local channel
if: matrix.UPGRADE_CHANNEL == 'local'
if: matrix.UPGRADE_CHANNEL == 'local' && matrix.PS_VERSION_END != '9.0.0'
run: |
docker exec -t prestashop curl --fail -L https://github.com/PrestaShop/zip-archives/raw/main/prestashop_${{ matrix.PS_VERSION_END }}.zip -o admin-dev/autoupgrade/download/prestashop_${{ matrix.PS_VERSION_END }}.zip
docker exec -t prestashop curl --fail -L https://api.prestashop.com/xml/md5/${{ matrix.PS_VERSION_END }}.xml -o admin-dev/autoupgrade/download/prestashop_${{ matrix.PS_VERSION_END }}.xml
- name: Download local ZIP and XML for local channel in 9.0.0
if: matrix.PS_VERSION_END == '9.0.0'
run: |
docker exec -t prestashop curl --fail -L https://storage.googleapis.com/prestashop-core-nightly/2024-11-27-develop-prestashop_9.0.0.zip -o admin-dev/autoupgrade/download/prestashop_${{ matrix.PS_VERSION_END }}.zip
docker exec -t prestashop curl --fail -L https://storage.googleapis.com/prestashop-core-nightly/2024-11-27-develop-prestashop_9.0.0.xml -o admin-dev/autoupgrade/download/prestashop_${{ matrix.PS_VERSION_END }}.xml
- name: Write configuration file
run: |
docker exec -t prestashop sh -c "echo '{
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/ui-test/sanity.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@
"PS_VERSION_END": "8.1.7",
"PHP_VERSION": "7.4",
"UPGRADE_CHANNEL": "local"
},
{
"comment": "8.0.4 -> 9.0.0 PHP 8.1 local"
},
{
"PS_VERSION_START": "8.0.4",
"PS_VERSION_END": "9.0.0",
"PHP_VERSION": "8.1",
"UPGRADE_CHANNEL": "local"
}
]
}

0 comments on commit 3a7b424

Please sign in to comment.