Skip to content

Commit

Permalink
Add multiple PHP versions in tests
Browse files Browse the repository at this point in the history
Issue #640
  • Loading branch information
fpcorso committed Nov 17, 2020
1 parent 8417e20 commit 79736b9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 79736b9

Please sign in to comment.