Skip to content

Commit cb8d769

Browse files
committed
Merge pull request #66 from Aeliot-Tm/extend-compatibility
2 parents 5039259 + 7f5983c commit cb8d769

File tree

3 files changed

+7514
-10
lines changed

3 files changed

+7514
-10
lines changed

.github/workflows/automated_testing.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,46 @@ on:
44
push:
55

66
jobs:
7+
8+
composer:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
include:
15+
- php-version: '7.4'
16+
lock-version: '3.4'
17+
- php-version: '7.4'
18+
lock-version: '4.4'
19+
- php-version: '8.0'
20+
lock-version: '5.0'
21+
- php-version: '8.0'
22+
lock-version: '5.4'
23+
- php-version: '8.0'
24+
lock-version: '6.0'
25+
- php-version: '8.1'
26+
lock-version: '6.4'
27+
- php-version: '8.2'
28+
lock-version: '7.0'
29+
30+
steps:
31+
- uses: 'shivammathur/setup-php@v2'
32+
with:
33+
php-version: ${{ matrix.php-version }}
34+
tools: composer
35+
36+
- uses: actions/checkout@v3
37+
38+
- name: Set versions
39+
run: cp composer.${{ matrix.lock-version }}.lock composer.lock
40+
41+
- name: Install dependencies
42+
uses: ramsey/composer-install@v2
43+
44+
- name: Validate composer.json and composer.lock
45+
run: composer validate --strict
46+
747
phpunit:
848
runs-on: ubuntu-latest
949

@@ -23,6 +63,8 @@ jobs:
2363
lock-version: '6.0'
2464
- php-version: '8.1'
2565
lock-version: '6.4'
66+
- php-version: '8.2'
67+
lock-version: '7.0'
2668

2769
steps:
2870
- uses: 'shivammathur/setup-php@v2'

0 commit comments

Comments
 (0)