Skip to content

Commit

Permalink
Try to fix CI
Browse files Browse the repository at this point in the history
The composer.lock doesn't work for PHP 8.0, so try something different.
  • Loading branch information
akrabat committed Jun 24, 2024
1 parent bc7727e commit 6d068ce
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1, 8.2]
php: [8.0, 8.1, 8.2, 8.3]
experimental: [false]
include:
- php: 8.2
Expand All @@ -26,7 +26,12 @@ jobs:
php-version: ${{ matrix.php }}
coverage: xdebug

- name: Install dependencies with Composer
- name: Install dependencies with Composer (PHP 8.0)
if: ${{ matrix.php-versions == 8.0 }}
run: rm composer.lock && composer update

- name: Install dependencies with Composer (PHP 8.1+)
if: ${{ matrix.php-versions >= 8.1 }}
uses: ramsey/composer-install@v2

- name: Coding standards
Expand Down

0 comments on commit 6d068ce

Please sign in to comment.