diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b0986a0..0ccd65e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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/psalm@5.x-dev --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/codecov-action@v4.5.0