-
Notifications
You must be signed in to change notification settings - Fork 8
29 lines (25 loc) · 874 Bytes
/
tests.yml
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
name: Tests
on: [push]
jobs:
phpunit:
name: PHP ${{ matrix.php }} (${{ matrix.dependency-version }})
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.2, 8.3]
dependency-version: [lowest, highest]
steps:
- uses: actions/checkout@v4
- name: Configure PHP
uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php }}
extensions: mbstring
coverage: none
- name: Install dependencies
uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependency-version }}
composer-options: "--no-suggest --prefer-dist"
- name: Execute tests
run: vendor/bin/phpunit