Skip to content

Commit dd4dd92

Browse files
committed
MQE-2431: [2.6.6 - Release] Checklist
Removed travis.yml and added github workflow main.yml Changelog updates
1 parent a31dbfc commit dd4dd92

File tree

3 files changed

+124
-14
lines changed

3 files changed

+124
-14
lines changed

.github/workflows/main.yml

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# Copyright © Magento, Inc. All rights reserved.
2+
# See COPYING.txt for license details.
3+
4+
name: CI
5+
6+
on: [pull_request]
7+
8+
jobs:
9+
unit-tests:
10+
name: Unit Tests
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
php-versions: ['7.1', '7.2', '7.3']
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- name: Setup PHP
20+
uses: shivammathur/setup-php@master
21+
with:
22+
php-version: ${{ matrix.php-versions }}
23+
extensions: curl, dom, intl, json, openssl
24+
25+
- name: Cache Composer packages
26+
id: composer-cache
27+
uses: actions/cache@v2
28+
with:
29+
path: vendor
30+
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
31+
restore-keys: |
32+
${{ runner.os }}-php-
33+
34+
- name: Install dependencies
35+
if: steps.composer-cache.outputs.cache-hit != 'true'
36+
run: composer install --prefer-dist --no-progress --no-suggest
37+
38+
- name: Run tests
39+
run: vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite unit --coverage-clover clover.xml
40+
41+
- name: Monitor coverage
42+
if: github.event_name == 'pull_request'
43+
uses: slavcodev/[email protected]
44+
with:
45+
github_token: ${{ secrets.GITHUB_TOKEN }}
46+
clover_file: "clover.xml"
47+
threshold_alert: 10
48+
threshold_warning: 20
49+
50+
verification-tests:
51+
name: Verification Tests
52+
runs-on: ubuntu-latest
53+
strategy:
54+
fail-fast: false
55+
matrix:
56+
php-versions: ['7.1', '7.2', '7.3']
57+
steps:
58+
- uses: actions/checkout@v2
59+
60+
- name: Setup PHP
61+
uses: shivammathur/setup-php@master
62+
with:
63+
php-version: ${{ matrix.php-versions }}
64+
extensions: curl, dom, intl, json, openssl
65+
66+
- name: Cache Composer packages
67+
id: composer-cache
68+
uses: actions/cache@v2
69+
with:
70+
path: vendor
71+
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
72+
restore-keys: |
73+
${{ runner.os }}-php-
74+
75+
- name: Install dependencies
76+
if: steps.composer-cache.outputs.cache-hit != 'true'
77+
run: composer install --prefer-dist --no-progress --no-suggest
78+
79+
- name: Run tests
80+
run: vendor/bin/phpunit --configuration dev/tests/phpunit.xml --testsuite verification
81+
82+
static-tests:
83+
name: Static Tests
84+
runs-on: ubuntu-latest
85+
strategy:
86+
fail-fast: false
87+
matrix:
88+
php-versions: ['7.1', '7.2', '7.3']
89+
steps:
90+
- uses: actions/checkout@v2
91+
92+
- name: Setup PHP
93+
uses: shivammathur/setup-php@master
94+
with:
95+
php-version: ${{ matrix.php-versions }}
96+
extensions: curl, dom, intl, json, openssl
97+
98+
- name: Cache Composer packages
99+
id: composer-cache
100+
uses: actions/cache@v2
101+
with:
102+
path: vendor
103+
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
104+
restore-keys: |
105+
${{ runner.os }}-php-
106+
107+
- name: Install dependencies
108+
if: steps.composer-cache.outputs.cache-hit != 'true'
109+
run: composer install --prefer-dist --no-progress --no-suggest
110+
111+
- name: Run tests
112+
run: bin/static-checks
113+
114+

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
Magento Functional Testing Framework Changelog
22
================================================
3+
2.6.6
4+
---------
5+
6+
* Traceability
7+
* Removed `travis.yml` and replaced with `.github/workflows/main.yml`
8+
9+
### Fixes
10+
* Fixed issue that causes Magento bin/magento to fail when xdebug 3 is used. [GitHub Issue #808](https://github.com/magento/magento2-functional-testing-framework/issues/808)
11+
312
2.6.5
413
-----
14+
515
### GitHub Issues/Pull requests:
616
* [#547](https://github.com/magento/magento2-functional-testing-framework/pull/547) -- Fix invalid behavior of MAGENTO_BACKEND_BASE_URL
717

0 commit comments

Comments
 (0)