Skip to content

Commit

Permalink
Create phpunit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cmatosbc authored Nov 21, 2024
1 parent 5c0e34c commit cd837a9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: PHP Unit Tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
php-version: [8.2, 8.3]

steps:
- name: Checkout code
uses: actions/checkout@v2

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

- name: Install dependencies
run: composer install

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

0 comments on commit cd837a9

Please sign in to comment.