Skip to content

Commit b64eb3d

Browse files
chore: update wp supported version 2
1 parent 888b995 commit b64eb3d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/unit-tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,14 @@ jobs:
7373
uses: ramsey/composer-install@v3
7474
with:
7575
dependency-versions: ${{ matrix.dependency-versions }}
76-
composer-options: ${{ matrix.composer || '' }}
76+
composer-options: >-
77+
${{
78+
(
79+
(matrix.php-ver == '7.4' || matrix.php-ver == '8.0')
80+
&& '--no-dev --ignore-platform-req=php'
81+
|| ''
82+
)
83+
}} ${{ matrix.composer || '' }}
7784
7885
- name: Run unit tests
7986
run: ./vendor/bin/phpunit --no-coverage

0 commit comments

Comments
 (0)