Skip to content

Commit

Permalink
fix conditions in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Art4 committed Nov 28, 2023
1 parent 1bcedfb commit 823cfea
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,14 @@ jobs:
fetch-depth: 2

- name: Setup PHP with composer and extensions
if: ${{ matrix.php =< '8.3' }}
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: ${{ matrix.php }}
coverage: xdebug
tools: none

- name: Setup PHP with composer and extensions (PHP 8.4)
if: ${{ matrix.php >= '8.4' }}
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: ${{ matrix.php }}
coverage: none
tools: none

- name: "Install Composer dependencies"
if: ${{ matrix.php =< '8.3' }}
if: ${{ matrix.php <= '8.3' }}
uses: "ramsey/composer-install@v2"

- name: "Install Composer dependencies (PHP 8.4)"
Expand Down

0 comments on commit 823cfea

Please sign in to comment.