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 28, 2024
1 parent 0903286 commit 9c800e8
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 8.1 PHPUnit Tests

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
phpunit_81:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up PHP 8.1
uses: shivammathur/setup-php@v3
with:
php-version: '8.1'

- name: Install dependencies
run: composer install --no-interaction

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

0 comments on commit 9c800e8

Please sign in to comment.