Skip to content

Commit

Permalink
Add GH Action for CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Oct 1, 2024
1 parent b311ed2 commit 488ed1c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI Tests
on: [push, pull_request]

jobs:
PHPUnit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
php:
- 8.2
- 8.3
- 8.4

steps:
- uses: actions/checkout@v2

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

- name: Install dependencies
run: composer install

- name: Run PHPUnit
run: vendor/bin/phpunit

0 comments on commit 488ed1c

Please sign in to comment.