Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI tests - Add PS versions from 1.7.1.0 ~ 1.7.1.2 to 1.7.8.11 (minor) on php 7.1 #778

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/ui-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ jobs:
- name: Composer install
run: composer install

- name: Install module autoupgrade
working-directory: tests/UI/
run: |
docker exec -t prestashop php -v bin/console prestashop:module install autoupgrade

- name: Backup
run: |
docker exec -t prestashop php modules/autoupgrade/bin/console backup:create admin-dev
Expand All @@ -73,7 +68,7 @@ jobs:
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'
if: matrix.PS_VERSION_END == '9.0.0'
run: |
docker exec -t prestashop curl --fail -L https://storage.googleapis.com/prestashop-core-nightly/nightly_9.0.x.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/nightly_9.0.x.xml -o admin-dev/autoupgrade/download/prestashop_${{ matrix.PS_VERSION_END }}.xml
Expand All @@ -95,6 +90,12 @@ jobs:
docker exec -t prestashop php modules/autoupgrade/bin/console update:start --config-file-path=modules/autoupgrade/config.json --channel=${{ matrix.UPGRADE_CHANNEL }} admin-dev
docker exec -t prestashop chmod 777 -R /var/www/html/var

- name: Uninstall welcome module
if: matrix.PS_VERSION_START == '1.7.1.0' || matrix.PS_VERSION_START == '1.7.1.1' || matrix.PS_VERSION_START == '1.7.1.2'
run: |
docker exec -t prestashop php bin/console prestashop:module disable welcome
docker exec -t prestashop chmod 777 -R /var/www/html/var

- name: Install dependencies
working-directory: tests/UI/
run: npm ci
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/ui-test/nightly.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
{
"include": [
{
"comment": "1.7.1.0 ~ 1.7.1.2 -> 1.7.8.11 PHP 7.1"
},
{
"PS_VERSION_START": "1.7.1.0",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1",
"UPGRADE_CHANNEL": "online"
},
{
"PS_VERSION_START": "1.7.1.1",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1",
"UPGRADE_CHANNEL": "online"
},
{
"PS_VERSION_START": "1.7.1.2",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1",
"UPGRADE_CHANNEL": "online"
},
{
"comment": "1.7.2.0 ~ 1.7.2.5 -> 1.7.8.11 PHP 7.1 online"
},
Expand Down
Loading