This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Module upgrade / downgrade testing (last version > v.5.2.0 > `develop` version) | |
on: | |
pull_request: | |
types: [opened, reopened] | |
branches: [develop, develop**, develop-**] | |
jobs: | |
Module-upgrading-check: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- prestashop: 'PS1785' | |
make: 'make VERSION=1785 e2eh1785' | |
port: '8002' | |
yml: 'docker-compose.1785.yml' | |
ModuleUpgradeTest: 'make VERSION=1785 upgrading-module-test-1785' | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install composer | |
run: composer update | |
- name: ${{ matrix.prestashop }} installing | |
run: | | |
${{ matrix.make }} | |
- name: Testing if module upgrades after older module installation into ${{ matrix.prestashop }} | |
run: ${{ matrix.ModuleUpgradeTest }} |