Skip to content

Commit 3cf5c1a

Browse files
committed
exclude code-style checks from PHP 5.3
1 parent 3dad162 commit 3cf5c1a

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,38 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6+
tests-php-5.3:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
php: 5.3
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v2
16+
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: ${{ matrix.php }}
21+
coverage: none
22+
23+
- name: Validate composer.json and composer.lock
24+
run: composer validate
25+
26+
- name: Install dependencies
27+
run: composer install --prefer-dist --no-progress --no-interaction --no-suggest
28+
29+
- name: Run test suite
30+
run: vendor/bin/phpunit
31+
632
tests:
733
runs-on: ubuntu-latest
834

935
strategy:
1036
matrix:
11-
php: [5.3, 5.4, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0]
37+
php: [5.4, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0]
1238

1339
steps:
1440
- name: Checkout code

0 commit comments

Comments
 (0)