[ECP-9203]- Add support for UPI Payment Method India. #495
Workflow file for this run
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: Functional Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- php-version: '8.1' | |
magento-version: '2.4.5' | |
runs-on: ubuntu-latest | |
env: | |
PHP_VERSION: ${{ matrix.php-version }} | |
MAGENTO_VERSION: ${{ matrix.magento-version }} | |
ADMIN_USERNAME: ${{ secrets.MAGENTO_ADMIN_USERNAME }} | |
ADMIN_PASSWORD: ${{ secrets.MAGENTO_ADMIN_PASSWORD }} | |
DONATION_ACCOUNT: ${{secrets.DONATION_ACCOUNT}} | |
ADYEN_MERCHANT: ${{secrets.ADYEN_MERCHANT}} | |
ADYEN_API_KEY: ${{secrets.ADYEN_API_KEY}} | |
ADYEN_CLIENT_KEY: ${{secrets.ADYEN_CLIENT_KEY}} | |
ADMIN_URLEXT: admin | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Start services | |
run: docker-compose -f .github/docker-compose.yml -f .github/docker-compose.mftf.yml up -d | |
# Temp solution to wait for install script to run | |
- name: Sleep for 120 seconds | |
run: sleep 120s | |
shell: bash | |
- name: Show install logs | |
run: docker logs --tail 100 magento2-container | |
- name: Prevent cron from interfering with test execution | |
run: docker exec magento2-container /etc/init.d/cron stop | |
- name: Install plugin | |
run: docker exec -u www-data magento2-container make install | |
- name: Build MFTF project | |
run: docker exec magento2-container make setup-mftf | |
- name: Run MFTF tests | |
run: docker exec magento2-container make mftf |