Skip to content

Commit

Permalink
Run tests on multiple PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubTesarek committed Aug 19, 2020
1 parent 5e7deb3 commit eb4a654
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/php.yml
Expand Up @@ -8,15 +8,19 @@ on:
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest
test:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest ]
php: [ '7.1', '7.2', '7.3', '7.4']
name: Tests with PHP ${{ matrix.php }}

steps:
- uses: actions/checkout@v2
- uses: nanasess/setup-php@master
with:
php-version: '7.3'
php-version: ${{ matrix.php }}

- name: Validate composer.json and composer.lock
run: composer validate
Expand Down

0 comments on commit eb4a654

Please sign in to comment.