diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index 917d69cf1..b6eb7979a 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -10,11 +10,24 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + php-versions: [ '5.6', '7.0', '7.1', '7.2', '7.3' ] + name: PHPUnit test on ${{ matrix.php-versions }} steps: - name: Checkout uses: actions/checkout@v2 + - name: Setup PHP + uses: shivammathur/setup-php@v1 + with: + php-version: ${{ matrix.php-versions }} + extension-csv: mbstring, intl + ini-values-csv: post_max_size=256M, short_open_tag=On + coverage: xdebug + pecl: false + - name: Validate composer.json and composer.lock run: composer validate