Skip to content

Commit c3f910e

Browse files
committed
MQE-2429: [GitHub Issue # 810] MFTF 2.x incompatibility with PHP XDebug
- enable Functional Tests build - fixes #810
1 parent 2e939b8 commit c3f910e

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.github/workflows/main.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,40 @@ jobs:
113113
- name: Run tests
114114
run: bin/static-checks
115115

116+
functional-tests:
117+
name: Functional Tests
118+
runs-on: ubuntu-latest
119+
strategy:
120+
fail-fast: false
121+
matrix:
122+
php-versions: ['7.1', '7.2', '7.3']
123+
124+
services:
125+
chrome:
126+
image: selenium/standalone-chrome:3.141.59-zirconium
127+
ports:
128+
- 4444:4444
129+
steps:
130+
- uses: actions/checkout@v2
131+
132+
- name: Setup PHP
133+
uses: shivammathur/setup-php@master
134+
with:
135+
php-version: ${{ matrix.php-versions }}
136+
extensions: curl, dom, intl, json, openssl
116137

138+
- name: Cache Composer packages
139+
id: composer-cache
140+
uses: actions/cache@v2
141+
with:
142+
path: vendor
143+
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
144+
restore-keys: |
145+
${{ runner.os }}-php-
146+
147+
- name: Install dependencies
148+
if: steps.composer-cache.outputs.cache-hit != 'true'
149+
run: composer install --prefer-dist --no-progress --no-suggest
150+
151+
- name: Run tests
152+
run: bin/functional

bin/functional

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copyright © Magento, Inc. All rights reserved.
2+
# See COPYING.txt for license details.
3+
4+
set -e
5+
6+
echo "==============================="
7+
echo " EXECUTE Functional Tests "
8+
echo "==============================="
9+
bin/mftf build:project
10+
bin/mftf run:test DeprecatedDevDocsTest -f
11+
bin/mftf run:test DevDocsTest -f

0 commit comments

Comments
 (0)