Add support for PHP 8 and bump dependency versions #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | ||
on: | ||
- push | ||
- pull_request | ||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
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 |