Skip to content

Commit 61d83da

Browse files
Remove old PHP
1 parent 8fcab90 commit 61d83da

File tree

1 file changed

+1
-56
lines changed

1 file changed

+1
-56
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -3,68 +3,13 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6-
old:
7-
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
8-
runs-on: ${{ matrix.operating-system }}
9-
strategy:
10-
matrix:
11-
operating-system: ['ubuntu-latest']
12-
php-versions: ['7.0']
13-
phpunit-versions: ['6.5.14']
14-
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v4
17-
18-
- name: Setup PHP
19-
uses: shivammathur/setup-php@v2
20-
with:
21-
php-version: ${{ matrix.php-versions }}
22-
extensions: mbstring, intl
23-
ini-values: post_max_size=256M, max_execution_time=180
24-
tools: phpunit:${{ matrix.phpunit-versions }}
25-
26-
- name: Install dependencies
27-
run: composer self-update --1; composer install
28-
29-
- name: PHPUnit tests
30-
run: phpunit
31-
32-
moderate:
33-
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
34-
runs-on: ${{ matrix.operating-system }}
35-
strategy:
36-
matrix:
37-
operating-system: ['ubuntu-latest']
38-
php-versions: ['7.1', '7.2', '7.3']
39-
phpunit-versions: ['7.5.20']
40-
steps:
41-
- name: Checkout
42-
uses: actions/checkout@v4
43-
44-
- name: Setup PHP
45-
uses: shivammathur/setup-php@v2
46-
with:
47-
php-version: ${{ matrix.php-versions }}
48-
extensions: mbstring, intl, sodium
49-
ini-values: post_max_size=256M, max_execution_time=180
50-
tools: psalm:4, phpunit:${{ matrix.phpunit-versions }}
51-
52-
- name: Install dependencies
53-
run: composer install
54-
55-
- name: PHPUnit tests
56-
run: phpunit
57-
58-
- name: Static Analysis
59-
run: psalm --output-format=github
60-
616
modern:
627
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
638
runs-on: ${{ matrix.operating-system }}
649
strategy:
6510
matrix:
6611
operating-system: ['ubuntu-latest']
67-
php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3']
12+
php-versions: ['8.0', '8.1', '8.2', '8.3', '8.4']
6813
phpunit-versions: ['latest']
6914
steps:
7015
- name: Checkout

0 commit comments

Comments
 (0)