Skip to content

Commit 7546092

Browse files
authored
Add PHP 8.1 to the CI matrix (#78)
* Add PHP 8.1 to the CI matrix * fix
1 parent e4a232e commit 7546092

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/unit-tests.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ jobs:
1919
- "7.3"
2020
- "7.4"
2121
- "8.0"
22-
23-
env:
24-
SYMFONY_DEPRECATIONS_HELPER: 1
22+
- "8.1"
2523

2624
steps:
2725
- name: "checkout"
@@ -55,4 +53,13 @@ jobs:
5553
run: "php vendor/bin/simple-phpunit install"
5654

5755
- name: "running unit tests"
56+
if: ${{ matrix.dependencies == 'highest' }}
57+
env:
58+
SYMFONY_DEPRECATIONS_HELPER: 1
59+
run: "php vendor/bin/simple-phpunit"
60+
61+
- name: "running unit tests"
62+
if: ${{ matrix.dependencies == 'lowest' }}
63+
env:
64+
SYMFONY_DEPRECATIONS_HELPER: max[self]=0
5865
run: "php vendor/bin/simple-phpunit"

0 commit comments

Comments
 (0)