Skip to content

Commit 4bc3d96

Browse files
committed
Removed old PHP versions from CI conditions
1 parent ec3e256 commit 4bc3d96

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,15 @@ jobs:
5555
- name: Composer install
5656
run: composer install --no-interaction --no-progress --optimize-autoloader --ansi
5757

58-
- name: Run tests PHP 5.6, 7.0, 7.1, 7.3
59-
if: matrix.php == '56' || matrix.php == '7.0' || matrix.php == '7.1' || matrix.php == '7.3'
58+
- name: Run tests without code coverage on PHP 7.3, 7.4
59+
if: matrix.php == '7.3' || matrix.php == '7.4'
6060
run: |
6161
php -S 127.0.0.1:8000 -t tests/data/app >/dev/null 2>&1 &
6262
php codecept build
6363
php codecept run cli,unit
6464
65-
- name: Run tests PHP 7.2, 7.4
66-
if: matrix.php == '7.2' || matrix.php == '7.4'
67-
run: |
68-
php -S 127.0.0.1:8008 -t tests/data/app -d pcov.directory=$(pwd)/tests/data/app >/dev/null 2>&1 &
69-
php codecept build
70-
php codecept run cli,unit,coverage --env COVERAGE=1
71-
72-
- name: Run tests PHP 8.0
73-
if: matrix.php == '8.0'
65+
- name: Run tests with code coverage on PHP 7.2, 8.0
66+
if: matrix.php == '7.2' || matrix.php == '8.0'
7467
run: |
7568
php -S 127.0.0.1:8008 -t tests/data/app -d pcov.directory=$(pwd)/tests/data/app >/dev/null 2>&1 &
7669
php codecept build

0 commit comments

Comments
 (0)