Skip to content

Commit

Permalink
Try to fix Psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
markuspoerschke committed Jul 11, 2024
1 parent 5cb182f commit 59ad4f1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,22 @@ jobs:

- name: "Install packages for PHP 8.4"
if: ${{ matrix.php-version == '8.4' }}
run: "composer install --ignore-platform-reqs"
run: |
composer install --ignore-platform-reqs
composer up vimeo/[email protected] --ignore-platform-reqs
- name: "Run tests (old PHP versions)"
if: ${{ matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1' }}
run: "PHPUNIT_FLAGS=--no-coverage make test-phpunit test-psalm test-examples"

- name: "Run tests"
if: ${{ matrix.php-version == '8.2' || matrix.php-version == '8.3' || matrix.php-version == '8.4' }}
if: ${{ matrix.php-version == '8.2' || matrix.php-version == '8.3' }}
run: "make -j -O test"

- name: "Run tests (PHP 8.4)"
if: ${{ matrix.php-version == '8.4' }}
run: "make -j -O test-phpunit test-examples"

- name: "Send code coverage"
if: ${{ matrix.php-version == '8.3' }}
uses: codecov/[email protected]

0 comments on commit 59ad4f1

Please sign in to comment.