-
Notifications
You must be signed in to change notification settings - Fork 6
33 lines (29 loc) · 944 Bytes
/
test.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
30
31
32
33
name: test
on:
push:
branches-ignore:
- main
jobs:
tests:
name: "PHP ${{ matrix.php_version }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
php_version: [ "8.1", "8.2", "8.3", "8.4" ]
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231
with:
php-version: "${{ matrix.php_version }}"
coverage: none
tools: composer:v2
- name: Install Dependencies
run: composer install -q --profile --ignore-platform-reqs --no-interaction --no-ansi --no-scripts --no-suggest --prefer-dist
- uses: php-actions/phpunit@aed47a6852905dbd05b7c1a47c526b38fcc4bc17
with:
php_version: "${{ matrix.php_version }}"
bootstrap: vendor/autoload.php
configuration: phpunit.xml.dist
args: --coverage-text
version: "8.5.33"