Skip to content

Add support for PHP 8 and bump dependency versions #28

Add support for PHP 8 and bump dependency versions

Add support for PHP 8 and bump dependency versions #28

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build-test:
runs-on: ubuntu-latest
php_matrix:

Check failure on line 10 in .github/workflows/ci-workflow.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci-workflow.yml (Line: 10, Col: 5): Unexpected value 'php_matrix'
strategy:
matrix:
version: [7.2, 8.3]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.version }}
extensions: mbstring, intl, sockets
coverage: xdebug
tools: composer, prestissimo
# tools: phpunit, composer, prestissimo, php-cs-fixer, phpstan
- run: composer install
- name: Start SolrCloud
run: docker-compose up -d
- name: Sleep a few seconds to wait for Solr to be ready
uses: jakejarvis/wait-action@master
with:
time: "10s"
- name: PHPUnit
run: ./vendor/bin/phpunit --testdox --colors=always
- name: PHPStan
run: ./vendor/bin/phpstan analyse --no-progress