Skip to content

Commit

Permalink
Add PHP 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed Nov 26, 2020
1 parent 38f0399 commit 64da5d3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Test

on: [push, pull_request]
on: [ push, pull_request ]

jobs:
test:
Expand All @@ -9,8 +9,8 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4, 8.0]
dependency-version: [prefer-lowest, prefer-stable]
php: [ 7.2, 7.3, 7.4, 8.0 ]
dependency-version: [ prefer-lowest, prefer-stable ]


name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }}
Expand All @@ -29,9 +29,11 @@ jobs:
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest

- name: Setup PHP
uses: nanasess/setup-php@master
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, redis
coverage: none

- name: Execute tests
run: vendor/bin/phpunit

0 comments on commit 64da5d3

Please sign in to comment.