Blame | Letzte Änderung | Log anzeigen | RSS feed
name: testson:push:pull_request:jobs:tests:runs-on: ubuntu-lateststrategy:matrix:php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0']name: PHP ${{ matrix.php }}steps:- name: Checkout codeuses: actions/checkout@v2- name: Setup PHPuses: shivammathur/setup-php@v2with:php-version: ${{ matrix.php }}extensions: curltools: composer:v2coverage: none- name: Install PHP 7 dependenciesrun: composer update --prefer-dist --no-interaction --no-progressif: "matrix.php != '8.0'"- name: Install PHP 8 dependenciesrun: composer update --prefer-dist --no-interaction --no-progress --ignore-platform-reqsif: "matrix.php == '8.0'"- name: Execute testsrun: vendor/bin/phpunit -c tests/phpunit.xml.dist