Skip to content

Commit

Permalink
Merge pull request #780 from nesrineabdmouleh/upgrade173to17811
Browse files Browse the repository at this point in the history
UI tests - Add PS versions from 1.7.3.0 ~ 1.7.3.4 to 1.7.8.11 (minor) on php 7.1
  • Loading branch information
Progi1984 authored Nov 27, 2024
2 parents ea295fa + aab93d3 commit 6e7719a
Show file tree
Hide file tree
Showing 7 changed files with 285 additions and 244 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ui-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
- name: Update
run: |
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
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: Install dependencies
working-directory: tests/UI/
Expand All @@ -109,8 +109,9 @@ jobs:

- name: Rollback
run: |
backupName=$(docker exec -t prestashop bash -c "ls -td -- /var/www/html/admin-dev/autoupgrade/backup/*/ | head -n 1 | cut -d'/' -f8 | tr -d '\n'")
docker exec -t prestashop php modules/autoupgrade/bin/console backup:restore --backup=$backupName admin-dev
backupName=$(docker exec -t prestashop bash -c "ls -td -- /var/www/html/admin-dev/autoupgrade/backup/*/ | head -n 1 | cut -d'/' -f8 | tr -d '\n'")
docker exec -t prestashop php modules/autoupgrade/bin/console backup:restore --backup=$backupName admin-dev
docker exec -t prestashop chmod 777 -R /var/www/html/app
- name: Run Sanity tests
working-directory: tests/UI/
Expand Down
Loading

0 comments on commit 6e7719a

Please sign in to comment.