Skip to content

Commit

Permalink
Run CI for pull requests on recent PHP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
theodorejb committed Dec 28, 2022
1 parent c5b7753 commit e367327
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
name: PHPUnit

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

jobs:
build:

name: Run tests on ${{ matrix.php }}
runs-on: ubuntu-latest

strategy:
matrix:
php: [ '7.4', '8.0', '8.1', '8.2' ]

steps:
- uses: actions/checkout@v1
- name: Checkout
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Composer Install
run: composer install
Expand Down

0 comments on commit e367327

Please sign in to comment.