-
Notifications
You must be signed in to change notification settings - Fork 8
43 lines (33 loc) · 780 Bytes
/
Copy pathunit-tests.yml
File metadata and controls
43 lines (33 loc) · 780 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
34
35
36
37
38
39
40
41
42
43
name: Unit tests
on: [push, pull_request]
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
tests:
name: Tests
strategy:
matrix:
include:
- php: '8.5'
- php: '8.4'
- php: '8.3'
- php: '8.2'
fail-fast: false
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: "none"
ini-values: memory_limit=-1,apc.enable_cli=1,zend.assertions=1
php-version: "${{ matrix.php }}"
tools: flex
- name: Install dependencies
run: composer install
- name: Run tests
run: vendor/bin/phpunit --colors=always