Skip to content

Commit 8a621b6

Browse files
committed
Update tests.yml
1 parent b8d5e75 commit 8a621b6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
php-version:
35+
- "8.1"
3536
- "8.2"
3637
- "8.3"
3738
- "8.4"
@@ -55,6 +56,14 @@ jobs:
5556
- name: "Install dependencies"
5657
run: "composer install --no-interaction --no-progress"
5758

59+
- name: "Transform source code"
60+
if: matrix.php-version == '8.1'
61+
shell: bash
62+
run: |
63+
composer install --no-interaction --no-progress --working-dir=compiler
64+
./compiler/vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}
65+
composer dump
66+
5867
- name: "Tests"
5968
run: "make tests"
6069

@@ -159,7 +168,6 @@ jobs:
159168
php-version:
160169
- "7.4"
161170
- "8.0"
162-
- "8.1"
163171
operating-system: [ ubuntu-latest, windows-latest ]
164172

165173
steps:

0 commit comments

Comments
 (0)