-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (27 loc) · 773 Bytes
/
phpunit.yml
File metadata and controls
33 lines (27 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: PHPUnit
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Run tests (PHP ${{ matrix.php }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [ '8.3', '8.4', '8.5' ]
steps:
- name: Checkout Code
uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring, pdo, sqlite, pdo_sqlite
ini-values: max_execution_time=180
- name: Install Composer Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Run tests via PHPUnit
run: vendor/bin/phpunit